From c0e552594d6a351065e66c0a893651ea0f3937e5 Mon Sep 17 00:00:00 2001 From: noO0oOo0ob <38344038+noO0oOo0ob@users.noreply.github.com> Date: Tue, 24 Dec 2024 14:07:00 +0800 Subject: [PATCH] fix extension save error when category change (#886) Co-authored-by: noO0ob --- lyrebird/checker/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lyrebird/checker/__init__.py b/lyrebird/checker/__init__.py index ab2725b5..f23ec7b8 100644 --- a/lyrebird/checker/__init__.py +++ b/lyrebird/checker/__init__.py @@ -264,7 +264,9 @@ def _load_checker(self): self.update = True self._checker_detection() + global scripts_tmp_storage + self._funcs_map.clear() for func_type, func_list in scripts_tmp_storage.items(): self._funcs_map[func_type] = [f for f in func_list] scripts_tmp_storage = {}