1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-17 15:53:28 +00:00

fix seafile10 setup jwt_private_key

This commit is contained in:
skywalker
2023-02-21 11:35:56 +08:00
parent bec2fcce45
commit 5d72d7b2ff

View File

@@ -973,7 +973,7 @@ class SeafileConfigurator(AbstractConfigurator):
Utils.get_python_executable(), Utils.get_python_executable(),
script, script,
] ]
jwt_private_key = Utils.get_command_output(cmd).strip() jwt_private_key = Utils.get_command_output(cmd).strip().decode('utf8').replace('%', '')
db_section = 'notification' db_section = 'notification'
if not config.has_section(db_section): if not config.has_section(db_section):