🐛 fix error message if data or output directories do not exist
This commit is contained in:
parent
09f622b14b
commit
be5022811d
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue