Commit 6f21dbfd authored by Dumoulin Nicolas's avatar Dumoulin Nicolas
Browse files

fix for python3

parent d1b41d62
......@@ -311,7 +311,7 @@ class Scenario :
with gzip.GzipFile('./initial_scenario_indices.gz','w') as fid_gz:
json_str = json.dumps(dict_indices, ensure_ascii=False)
fid_gz.write(json_str)
fid_gz.write(json_str.encode('utf-8'))
'''
These functions returns values of indices of this scenario
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment