diff --git a/list_builder.py b/list_builder.py index 2a4288be..e41cdc17 100755 --- a/list_builder.py +++ b/list_builder.py @@ -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"))