forked from 0x2620/pandora
raise exception
This commit is contained in:
parent
d488119748
commit
708f3d8927
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue