mirror of
https://github.com/WGDashboard/WGDashboard.git
synced 2026-08-05 07:22:59 +00:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 16998d1e16 | |||
| 11421d2d32 | |||
| 1af708aaea |
+1
-1
@@ -570,7 +570,7 @@ class WireguardConfiguration:
|
||||
def __getPeers(self):
|
||||
|
||||
mt = os.path.getmtime(os.path.join(WG_CONF_PATH, f'{self.Name}.conf'))
|
||||
if self.__configFileModifiedTime is None or self.__configFileModifiedTime != mt:
|
||||
# if self.__configFileModifiedTime is None or self.__configFileModifiedTime != mt:
|
||||
self.Peers = []
|
||||
with open(os.path.join(WG_CONF_PATH, f'{self.Name}.conf'), 'r') as configFile:
|
||||
p = []
|
||||
|
||||
Vendored
BIN
Binary file not shown.
|
Before Width: | Height: | Size: 3.2 MiB |
Vendored
BIN
Binary file not shown.
|
Before Width: | Height: | Size: 4.5 MiB |
Reference in New Issue
Block a user