1
0
Fork 0
mirror of https://github.com/YunoHost/apps.git synced 2024-09-03 20:06:07 +02:00

Oopsies I commited nonsense

This commit is contained in:
Alexandre Aubin 2022-08-04 17:19:23 +02:00
parent 0341bcdf8f
commit 6e50a3e1c2

View file

@ -299,8 +299,8 @@ def build_app_dict(app, infos):
timestamp = int(timestamp)
# Build the dict with all the infos
if os.path.exists(open(this_app_cache + "/manifest.toml")):
manifest = toml.load(open(this_app_cache + "/manifest.toml", _dict=OrderedDict))
if os.path.exists(this_app_cache + "/manifest.toml"):
manifest = toml.load(open(this_app_cache + "/manifest.toml"), _dict=OrderedDict)
else:
manifest = json.load(open(this_app_cache + "/manifest.json"))