Skip to content

Commit

Permalink
Fixed: wallpapers with the character '
Browse files Browse the repository at this point in the history
  • Loading branch information
Lenochxd committed Apr 14, 2024
1 parent da9e050 commit 3dc447e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3dc447e

Please sign in to comment.