debian: strip secret_key of extraneous spaces/newlines (#67282)
This commit is contained in:
parent
f51adbe4e3
commit
53a3226e55
|
@ -19,7 +19,8 @@ import hobo.logger
|
|||
|
||||
DEBUG = False
|
||||
|
||||
SECRET_KEY = open('/etc/%s/secret' % PROJECT_NAME).read()
|
||||
with open('/etc/%s/secret' % PROJECT_NAME) as fd:
|
||||
SECRET_KEY = fd.read().strip()
|
||||
|
||||
ADMINS = (('Tous', 'root@localhost'),)
|
||||
|
||||
|
|
Loading…
Reference in New Issue