mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2024-11-22 15:20:09 +01:00
fixed, when database does not create, if no directory
This commit is contained in:
parent
e84616f5f5
commit
1d2c468d03
@ -28,6 +28,7 @@ dashboard_version = 'v2.3.1'
|
||||
# Dashboard Config Name
|
||||
configuration_path = os.getenv('CONFIGURATION_PATH', '.')
|
||||
db_path = os.path.join(configuration_path, 'db')
|
||||
os.mkdir(db_path)
|
||||
dashboard_conf = os.path.join(configuration_path, 'wg-dashboard.ini')
|
||||
sys.exit()
|
||||
# Upgrade Required
|
||||
|
Loading…
Reference in New Issue
Block a user