mirror of
https://github.com/haiwen/seahub.git
synced 2025-04-27 02:51:00 +00:00
fix migrate_idp_certificates.py (#5930)
This commit is contained in:
parent
ba5c57eba8
commit
c39ede45b9
2
scripts/migrate_idp_certificates.py
Normal file → Executable file
2
scripts/migrate_idp_certificates.py
Normal file → Executable file
@ -5,7 +5,7 @@ import sys
|
||||
import pymysql
|
||||
pymysql.install_as_MySQLdb()
|
||||
|
||||
install_path = os.path.dirname(os.path.abspath(__file__))
|
||||
install_path = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
|
||||
top_dir = os.path.dirname(install_path)
|
||||
central_config_dir = os.path.join(top_dir, 'conf')
|
||||
sys.path.insert(0, central_config_dir)
|
||||
|
Loading…
Reference in New Issue
Block a user