From e1d36a8a7df264b385bff42fd6c49ca191353a38 Mon Sep 17 00:00:00 2001 From: Iglocska Date: Sun, 20 Mar 2016 17:06:05 +0100 Subject: [PATCH] Convert the base64 to ascii --- modules/expansion/sourcecache.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/expansion/sourcecache.py b/modules/expansion/sourcecache.py index 720964d..f1283ff 100755 --- a/modules/expansion/sourcecache.py +++ b/modules/expansion/sourcecache.py @@ -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