From 916c2f82d8249d9031946afc0358262c07a9cbea Mon Sep 17 00:00:00 2001 From: theogbob <168785618+theogbob@users.noreply.github.com> Date: Sat, 26 Oct 2024 14:40:03 -0400 Subject: [PATCH] Fix ui.py Add command to "mouth_mask": modules.globals.mouth_mask which fixes the error "SyntaxError: invalid syntax. Perhaps you forgot a comma?" --- modules/ui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ui.py b/modules/ui.py index ed5d7e8..f9095e7 100644 --- a/modules/ui.py +++ b/modules/ui.py @@ -95,7 +95,7 @@ def save_switch_states(): "live_resizable": modules.globals.live_resizable, "fp_ui": modules.globals.fp_ui, "show_fps": modules.globals.show_fps, - "mouth_mask": modules.globals.mouth_mask + "mouth_mask": modules.globals.mouth_mask, "show_mouth_mask_box": modules.globals.show_mouth_mask_box } with open("switch_states.json", "w") as f: