From 5c25d56b7d061579dfeb3270084dd919f66fef61 Mon Sep 17 00:00:00 2001 From: Sophist Date: Tue, 25 Mar 2014 20:19:56 +0000 Subject: [PATCH] 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. --- picard/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/picard/plugin.py b/picard/plugin.py index 836453d49..d258e355c 100644 --- a/picard/plugin.py +++ b/picard/plugin.py @@ -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