Rename the debug file to .debug
And check for existance before reading Signed-off-by: Anna Schumaker <Anna@NoWheyCreamery.com>
This commit is contained in:
parent
f78402f258
commit
66e1ba8b44
|
@ -5,7 +5,8 @@ MAJOR = 2
|
|||
MINOR = 0
|
||||
|
||||
DEBUG = False
|
||||
with open("debug") as f:
|
||||
if os.path.exists(".debug"):
|
||||
with open(".debug") as f:
|
||||
if f.read().strip() == "emmental":
|
||||
DEBUG = True
|
||||
|
||||
|
|
Loading…
Reference in New Issue