No known instances of this problem but ...

... if plugin was located in picard.plugins_fake.smurf then module would
be set to "fake.smurf" rather than None.
This commit is contained in:
Sophist
2014-03-25 20:19:56 +00:00
parent 838655a2c8
commit 5c25d56b7d

View File

@@ -61,7 +61,7 @@ class ExtensionPoint(object):
_extension_points.append(self)
def register(self, module, item):
if module.startswith("picard.plugins"):
if module.startswith("picard.plugins."):
module = module[15:]
else:
module = None