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!")