debian: use open() to read secret key from settings (#36216)
This commit is contained in:
parent
1ded6ea0cb
commit
2b3d15c97e
|
@ -18,7 +18,7 @@ import hobo.logger
|
|||
|
||||
DEBUG = False
|
||||
|
||||
SECRET_KEY = file('/etc/%s/secret' % PROJECT_NAME).read()
|
||||
SECRET_KEY = open('/etc/%s/secret' % PROJECT_NAME).read()
|
||||
|
||||
ADMINS = (
|
||||
('Tous', 'root@localhost'),
|
||||
|
|
Loading…
Reference in New Issue