forked from openlp/openlp
break instead of continue
This commit is contained in:
parent
32f2dcac59
commit
66c183a6b8
@ -90,7 +90,7 @@ class PluginManager(object):
|
|||||||
thisdepth = len(path.split(os.sep))
|
thisdepth = len(path.split(os.sep))
|
||||||
if thisdepth - startdepth > 2:
|
if thisdepth - startdepth > 2:
|
||||||
# skip anything lower down
|
# skip anything lower down
|
||||||
continue
|
break
|
||||||
modulename = os.path.splitext(path)[0]
|
modulename = os.path.splitext(path)[0]
|
||||||
prefix = os.path.commonprefix([self.basepath, path])
|
prefix = os.path.commonprefix([self.basepath, path])
|
||||||
# hack off the plugin base path
|
# hack off the plugin base path
|
||||||
|
Loading…
Reference in New Issue
Block a user