Skip to content

Commit 88635c1

Browse files
Fix logic error in plugin loader (#13)
The logic should be same with or without verbose mode.
1 parent 7f9e708 commit 88635c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

webware/PlugInLoader.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,12 @@ def loadPlugIns(self, plugInNames=None, verbose=None):
5353
if name in plugIns:
5454
if verbose:
5555
print(f'Plug-in {name} has already been loaded.')
56-
continue
56+
continue
5757
entry_point = entryPoints.get(name)
5858
if not entry_point:
5959
if verbose:
6060
print(f'Plug-in {name} has not entry point.')
61-
continue
61+
continue
6262
module = entry_point.load()
6363
plugIn = self.loadPlugIn(name, module, verbose=verbose)
6464
if plugIn:

0 commit comments

Comments
 (0)