removed unreachable code

This commit is contained in:
Mahmoud 2022-05-31 19:22:36 +10:00 committed by GitHub
parent 3223a43fe3
commit c29a731f13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,7 +54,6 @@ class PluginsThroughFilesystem(PluginsThroughConfiguration):
# Skip __init__.py and other non-plugin files
if not MODULE_NAME_RE.match(filename.stem):
continue
cls.get(filename.stem)
# Skip this file
if filename == CURRENT_FILE: