From 708f3d89272e133b985763c3d17b1024a6edd5e9 Mon Sep 17 00:00:00 2001 From: j Date: Mon, 13 Aug 2018 21:24:44 +0200 Subject: [PATCH] raise exception --- pandora/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora/settings.py b/pandora/settings.py index e0c7e7ee..8a6f588b 100644 --- a/pandora/settings.py +++ b/pandora/settings.py @@ -274,7 +274,7 @@ except NameError: secret.write(SECRET_KEY) secret.close() except IOError: - Exception('Please create a %s file with random characters to generate your secret key!' % SECRET_FILE) + raise Exception('Please create a %s file with random characters to generate your secret key!' % SECRET_FILE) INSTALLED_APPS = tuple(list(INSTALLED_APPS) + LOCAL_APPS)