Skip to content

Commit

Permalink
fix: do not nest double quotes, which is a 3.12+ only feature (#16)
Browse files Browse the repository at this point in the history
Fixes a crash
  • Loading branch information
git-developer committed Sep 7, 2024
1 parent 31f4dd8 commit 3291bf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scc/gui/controller_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -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({})
Expand Down

0 comments on commit 3291bf7

Please sign in to comment.