# HG changeset patch # User Dennis Fink # Date 2022-06-26 11:24:49 # Node ID 914ef334d98703cd7c6d1ede311ce08b7ce4e1d6 # Parent 03e08c17cee23f67779235a5d14c2c6aade4f136 Fix file check diff --git a/spaceapi/utils.py b/spaceapi/utils.py --- a/spaceapi/utils.py +++ b/spaceapi/utils.py @@ -13,7 +13,7 @@ last_state_file_v14 = os.path.abspath("l if not os.path.exists(default_json_file_v14): raise RuntimeError("default_v14.json does not exists!") -elif not os.path.isfile(default_json_file): +elif not os.path.isfile(default_json_file_v14): raise RuntimeError("default_v14.json is not a file!")