mirror of
https://github.com/YunoHost/tartiflette.git
synced 2024-09-03 20:06:08 +02:00
Compat with Python <= 3.6
This commit is contained in:
parent
7962ea3ca0
commit
e891760620
1 changed files with 3 additions and 1 deletions
|
@ -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'))
|
||||
|
|
Loading…
Reference in a new issue