We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03e426b commit 269783cCopy full SHA for 269783c
src/sasctl/tasks.py
@@ -217,11 +217,11 @@ def get_version(x):
217
zipfilecopy = copy.deepcopy(zipfile)
218
tmpzip=zp.ZipFile(zipfilecopy)
219
if "outputVar.json" in tmpzip.namelist():
220
- outvar=json.loads(tmpzip.read("outputVar.json"))
+ outvar=json.loads(tmpzip.read("outputVar.json").decode('utf=8')) #added decode for 3.5 and older
221
for tmp in outvar:
222
tmp.update({'role':'output'})
223
if "inputVar.json" in tmpzip.namelist():
224
- invar=json.loads(tmpzip.read("inputVar.json"))
+ invar=json.loads(tmpzip.read("inputVar.json").decode('utf-8')) #added decode for 3.5 and older
225
for tmp in invar:
226
if tmp['role'] != 'input':
227
tmp['role']='input'
0 commit comments