From 8f2e7f9b36c6539a94bd71cb7a70384683900db0 Mon Sep 17 00:00:00 2001 From: TheJoeCoder <joe@radialbog9.uk> Date: Wed, 2 Oct 2024 10:55:44 +0100 Subject: [PATCH] Fix more bugs --- main.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/main.py b/main.py index 016f877..08970da 100644 --- a/main.py +++ b/main.py @@ -386,15 +386,15 @@ if __name__ == "__main__": widget_sequence = decode_dict(parts[1]) with open("sequence_config.json", "w") as f: json.dump({ - "widgets": widget_sequence, - "patterns": pattern_sequence + "widget": widget_sequence, + "pattern": pattern_sequence }, f, indent=4) elif parts[0] == "SAVE_PATTERN_SEQUENCE_CFG" and len(parts) == 2: pattern_sequence = decode_dict(parts[1]) with open("sequence_config.json", "w") as f: json.dump({ - "widgets": widget_sequence, - "patterns": pattern_sequence + "widget": widget_sequence, + "pattern": pattern_sequence }, f, indent=4) except queue.Empty: pass -- GitLab