mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-02 07:27:04 +00:00
12.0 fix write_secret_key (#6664)
This commit is contained in:
@@ -1056,7 +1056,7 @@ class SeahubConfigurator(AbstractConfigurator):
|
||||
script,
|
||||
]
|
||||
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):
|
||||
template = '''\
|
||||
|
Reference in New Issue
Block a user