mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-02 23:48:47 +00:00
12.0 fix write_secret_key (#6664)
This commit is contained in:
@@ -1056,7 +1056,7 @@ class SeahubConfigurator(AbstractConfigurator):
|
|||||||
script,
|
script,
|
||||||
]
|
]
|
||||||
key = Utils.get_command_output(cmd).strip()
|
key = Utils.get_command_output(cmd).strip()
|
||||||
fp.write('SECRET_KEY = "%s"' % key)
|
fp.write('SECRET_KEY = "%s"' % key.decode())
|
||||||
|
|
||||||
def write_database_config(self, fp):
|
def write_database_config(self, fp):
|
||||||
template = '''\
|
template = '''\
|
||||||
|
Reference in New Issue
Block a user