mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-01 23:20:51 +00:00
fix seafile10 setup jwt_private_key
This commit is contained in:
@@ -973,7 +973,7 @@ class SeafileConfigurator(AbstractConfigurator):
|
||||
Utils.get_python_executable(),
|
||||
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'
|
||||
if not config.has_section(db_section):
|
||||
|
Reference in New Issue
Block a user