From 3dc447eb9af562d213ad02db2387f1fd24233986 Mon Sep 17 00:00:00 2001 From: Lenochxd <81lennoch@gmail.com> Date: Sun, 14 Apr 2024 19:36:04 +0200 Subject: [PATCH] Fixed: wallpapers with the character `'` --- main_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main_server.py b/main_server.py index 90ccc20..b1daedc 100644 --- a/main_server.py +++ b/main_server.py @@ -1488,7 +1488,7 @@ def saveconfig(): config = save_config(config) try: - config["front"]["background"] = config["front"]["background"].replace("['", '["').replace("']", '"]').replace("','", '","') + config["front"]["background"] = config["front"]["background"].replace("['", '["').replace("']", '"]').replace("', '", "','").replace("','", '","') config["front"]["background"] = ast.literal_eval(config["front"]["background"]) except TypeError: pass