Merge pull request #1 from sadeghim/patch-1

removed unreachable code
This commit is contained in:
Rick van Hattem
2022-05-31 16:46:51 +02:00
committed by GitHub
-1
View File
@@ -54,7 +54,6 @@ class PluginsThroughFilesystem(PluginsThroughConfiguration):
# Skip __init__.py and other non-plugin files # Skip __init__.py and other non-plugin files
if not MODULE_NAME_RE.match(filename.stem): if not MODULE_NAME_RE.match(filename.stem):
continue continue
cls.get(filename.stem)
# Skip this file # Skip this file
if filename == CURRENT_FILE: if filename == CURRENT_FILE: