Fixed stale job issue

This commit is contained in:
Donald Zou
2025-10-24 09:21:48 +08:00
parent 18531b71c7
commit d763867566
5 changed files with 43 additions and 13 deletions

View File

@@ -395,9 +395,7 @@ class WireguardConfiguration:
return changed
def getPeers(self):
tmpList = []
current_app.logger.info(f"Refreshing {self.Name} peer list")
tmpList = []
if self.configurationFileChanged():
with open(self.configPath, 'r') as configFile:
p = []