Fix ui.py

Add command to "mouth_mask": modules.globals.mouth_mask which fixes the error "SyntaxError: invalid syntax. Perhaps you forgot a comma?"
pull/743/head
theogbob 2024-10-26 14:40:03 -04:00 committed by GitHub
parent 80f6ea9e65
commit 916c2f82d8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ def save_switch_states():
"live_resizable": modules.globals.live_resizable, "live_resizable": modules.globals.live_resizable,
"fp_ui": modules.globals.fp_ui, "fp_ui": modules.globals.fp_ui,
"show_fps": modules.globals.show_fps, "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 "show_mouth_mask_box": modules.globals.show_mouth_mask_box
} }
with open("switch_states.json", "w") as f: with open("switch_states.json", "w") as f: