From f001c55f5b198bef31b164064d7bf808f5aeb5cb Mon Sep 17 00:00:00 2001 From: Christian Date: Sat, 7 Sep 2024 12:04:15 +0200 Subject: [PATCH] fix: do not nest double quotes Fixes a crash using python 3.11.2 --- scc/gui/controller_image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scc/gui/controller_image.py b/scc/gui/controller_image.py index 5230895d..8135593a 100644 --- a/scc/gui/controller_image.py +++ b/scc/gui/controller_image.py @@ -93,7 +93,7 @@ def use_config(self, config, backup=None, controller=None): """ self.backup = backup self.current = self._ensure_config(config or {}, controller) - self.set_image(os.path.join(self.app.imagepath, f"controller-images/{self.current["gui"]["background"]}.svg")) + self.set_image(os.path.join(self.app.imagepath, f"controller-images/{self.current['gui']['background']}.svg")) if not self.current["gui"]["no_buttons_in_gui"]: self._fill_button_images(self.current["gui"]["buttons"]) self.hilight({})