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:
@@ -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):
|
||||||
|
Reference in New Issue
Block a user