From 8cc71913b376564c138d674222af4188cc935d12 Mon Sep 17 00:00:00 2001
From: Galonza Peter
Date: Sun, 26 Dec 2021 23:17:19 +0300
Subject: [PATCH] fixed read configuration after merge
---
src/dashboard.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/dashboard.py b/src/dashboard.py
index 5a3b1e2..bc3f06e 100644
--- a/src/dashboard.py
+++ b/src/dashboard.py
@@ -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")