mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2025-07-06 05:06:59 +00:00
Update dashboard.py
This commit is contained in:
parent
3b01943649
commit
da53bd44d1
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user