Skip to content

Commit

Permalink
Exit if no plugins.
Browse files Browse the repository at this point in the history
  • Loading branch information
jzohrab committed May 19, 2024
1 parent 52f6c51 commit 5dbfd28
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lute/parse/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ def init_parser_plugins():
print(msg, flush=True)
return

if custom_parser_eps is None:
return

for custom_parser_ep in custom_parser_eps:
if _is_valid(custom_parser_ep.load()):
__LUTE_PARSERS__[custom_parser_ep.name] = custom_parser_ep.load()
Expand Down

0 comments on commit 5dbfd28

Please sign in to comment.