From be5022811d940724b3869ecbaf452528779c02db Mon Sep 17 00:00:00 2001 From: neingeist Date: Tue, 7 Jan 2020 18:53:52 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix=20error=20message=20if=20dat?= =?UTF-8?q?a=20or=20output=20directories=20do=20not=20exist?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.py.example | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.py.example b/config.py.example index 5244921..75c76e4 100644 --- a/config.py.example +++ b/config.py.example @@ -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")