mirror of
https://github.com/fergalmoran/picard.git
synced 2026-02-28 18:43:58 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user