From e891760620067ebe7e5b77dc11488332e96204be Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Sat, 26 May 2018 17:44:41 +0000 Subject: [PATCH] Compat with Python <= 3.6 --- app/scripts/appListsHistory/script.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/scripts/appListsHistory/script.py b/app/scripts/appListsHistory/script.py index d1fcd68..1dc0bb2 100644 --- a/app/scripts/appListsHistory/script.py +++ b/app/scripts/appListsHistory/script.py @@ -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'))