1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-20 19:08:21 +00:00

11.0 fix write_secret_key (#6663)

This commit is contained in:
欢乐马
2024-08-29 11:05:08 +08:00
committed by GitHub
parent ff3d7b8bb7
commit 293bd11b4c

View File

@@ -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 = '''\