mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2025-10-08 18:26:17 +00:00
Update dashboard.py
This commit is contained in:
@@ -2665,6 +2665,8 @@ def AmneziaWGEnabled():
|
|||||||
return which('awg') is not None and which('awg-quick') is not None
|
return which('awg') is not None and which('awg-quick') is not None
|
||||||
|
|
||||||
def InitWireguardConfigurationsList(startup: bool = False):
|
def InitWireguardConfigurationsList(startup: bool = False):
|
||||||
|
print(AmneziaWGEnabled())
|
||||||
|
|
||||||
confs = os.listdir(DashboardConfig.GetConfig("Server", "wg_conf_path")[1])
|
confs = os.listdir(DashboardConfig.GetConfig("Server", "wg_conf_path")[1])
|
||||||
confs.sort()
|
confs.sort()
|
||||||
for i in confs:
|
for i in confs:
|
||||||
|
Reference in New Issue
Block a user