Browse Source

Convert the base64 to ascii

pull/5/head
Iglocska 6 years ago
parent
commit
e1d36a8a7d
  1. 3
      modules/expansion/sourcecache.py

3
modules/expansion/sourcecache.py

@ -26,8 +26,9 @@ def handler(q=False): @@ -26,8 +26,9 @@ def handler(q=False):
else:
misperrors['error'] = "Link is missing"
return misperrors
enc_data = str(data)
enc_data = data.decode('ascii')
r = {'results': [{'types': mispattributes['output'], 'values': tocache, 'data': enc_data}]}
print (r)
return r

Loading…
Cancel
Save