Skip to content

Commit

Permalink
chore: tidy codes
Browse files Browse the repository at this point in the history
Signed-off-by: Jack Cherng <[email protected]>
  • Loading branch information
jfcherng committed Nov 16, 2023
1 parent f0ebe1c commit 2414493
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boot.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
def reload_plugin() -> None:
import sys

# remove all previously loaded plugin modules.
# remove all previously loaded plugin modules
prefix = f"{__package__}."
for module_name in tuple(filter(lambda m: m.startswith(prefix) and m != __name__, sys.modules)):
del sys.modules[module_name]
Expand Down

0 comments on commit 2414493

Please sign in to comment.