Compat with Python <= 3.6

This commit is contained in:
Alexandre Aubin 2018-05-26 17:44:41 +00:00
parent 7962ea3ca0
commit e891760620

View file

@ -46,7 +46,9 @@ def get_lists_history():
official = json.loads(open(".work/apps/official.json").read())
for key in official:
official[key]["state"] = "official"
merged = {**community, **official}
merged = {}
merged.update(community)
merged.update(official)
# Save it
json.dump(merged, open('./.work/merged_lists.json.%s' % t.strftime("%y-%m-%d"), 'w'))