From 454998e766657ba879401455578a84f4b10a7831 Mon Sep 17 00:00:00 2001 From: Enterly <36875936+anthony5301@users.noreply.github.com> Date: Sun, 26 Nov 2023 21:59:23 +0800 Subject: [PATCH] Remove typo in comp editor --- comp_editor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comp_editor.py b/comp_editor.py index 85c63f70..5a598fa2 100644 --- a/comp_editor.py +++ b/comp_editor.py @@ -573,7 +573,7 @@ def save_changes(self): if char == "{": brace_count += 1 elif char == "}": - brace_count -= 1.0 + brace_count -= 1 if brace_count == 0 and char == "}": break