1
0
mirror of https://github.com/donaldzou/WGDashboard.git synced 2024-06-30 22:50:14 +02:00

fixed read configuration after merge

This commit is contained in:
Galonza Peter 2021-12-26 23:17:19 +03:00
parent 99abe6bcd2
commit 8cc71913b3

View File

@ -1269,7 +1269,7 @@ else:
init_dashboard()
update = check_update()
config = configparser.ConfigParser(strict=False)
config.read('wg-dashboard.ini')
config.read(dashboard_conf)
app_ip = config.get("Server", "app_ip")
app_port = config.get("Server", "app_port")
wg_conf_path = config.get("Server", "wg_conf_path")