mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2025-10-04 08:16:17 +00:00
Handle backup folder error
This commit is contained in:
@@ -903,7 +903,7 @@ class WireguardConfiguration:
|
||||
"backupDate": datetime.now().strftime("%Y%m%d%H%M%S")
|
||||
}
|
||||
|
||||
def getBackups(self, databaseContent: bool = False) -> list[dict[str: str, str: str, str: str]]:
|
||||
def getBackups(self, databaseContent: bool = False) -> list[dict[str, str]]:
|
||||
backups = []
|
||||
|
||||
directory = os.path.join(self.__getProtocolPath(), 'WGDashboard_Backup')
|
||||
|
Reference in New Issue
Block a user