From 5164000c9a5f44234d462672b31c6f53f9765fc5 Mon Sep 17 00:00:00 2001 From: Silversthorn Date: Sat, 20 Nov 2021 14:44:20 +0100 Subject: [PATCH] Fixing Path Errors for Backup files (Windows) --- app/classes/web/panel_handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/classes/web/panel_handler.py b/app/classes/web/panel_handler.py index 153df1ad..cf6a655e 100644 --- a/app/classes/web/panel_handler.py +++ b/app/classes/web/panel_handler.py @@ -209,7 +209,7 @@ class PanelHandler(BaseHandler): server_info = self.controller.servers.get_server_data_by_id(server_id) page_data['backup_config'] = self.controller.management.get_backup_config(server_id) page_data['backup_list'] = server.list_backups() - page_data['backup_path'] = server_info["backup_path"] + page_data['backup_path'] = server_info["backup_path"].replace('\\', '\\\\') print(page_data['backup_path']) def get_banned_players_html():