mirror of
https://github.com/haiwen/seafile-server.git
synced 2025-04-30 12:23:36 +00:00
* Add parse seahub database config * Get nickname from seahub database * Go get nickname from seahub database * Save output of script to memory and fix some errors * Add exec permission and free child_output --------- Co-authored-by: 杨赫然 <heran.yang@seafile.com>
7 lines
113 B
Python
Executable File
7 lines
113 B
Python
Executable File
import json
|
|
import seahub_settings
|
|
|
|
db_infos = seahub_settings.DATABASES['default']
|
|
|
|
print(json.dumps(db_infos))
|