🐛 fix error message if data or output directories do not exist

stable
neingeist 5 years ago
parent 09f622b14b
commit be5022811d

@ -17,6 +17,6 @@ class Config:
DEBUG = False
if not os.path.exists(DATA_DIR):
raise "DATA_DIR does not exist"
raise RuntimeError("DATA_DIR does not exist")
if not os.path.exists(OUT_DIR):
raise "OUT_DIR does not exist"
raise RuntimeError("OUT_DIR does not exist")

Loading…
Cancel
Save