mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2025-07-05 20:56:57 +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
|
||||
|
||||
def InitWireguardConfigurationsList(startup: bool = False):
|
||||
print(AmneziaWGEnabled())
|
||||
|
||||
confs = os.listdir(DashboardConfig.GetConfig("Server", "wg_conf_path")[1])
|
||||
confs.sort()
|
||||
for i in confs:
|
||||
|
Loading…
x
Reference in New Issue
Block a user