raise exception

This commit is contained in:
j 2018-08-13 21:24:44 +02:00
parent d488119748
commit 708f3d8927

View file

@ -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)