Changeset - 914ef334d987
[Not reviewed]
default
0 1 0
Dennis Fink - 3 years ago 2022-06-26 11:24:49
dennis.fink@c3l.lu
Fix file check
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
spaceapi/utils.py
Show inline comments
 
@@ -10,13 +10,13 @@ from flask import current_app, request
 

	
 
default_json_file_v14 = os.path.abspath("default_v14.json")
 
last_state_file_v14 = os.path.abspath("laststate_v14.json")
 

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

	
 

	
 
possible_open_tweets = (
 
    "The space is now open!",
 
    "The space is open! Come in and hack something!",
0 comments (0 inline, 0 general)