summaryrefslogtreecommitdiffstats
path: root/pyload/manager/Plugin.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/manager/Plugin.py')
-rw-r--r--pyload/manager/Plugin.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pyload/manager/Plugin.py b/pyload/manager/Plugin.py
index e99b1cea6..905ce524e 100644
--- a/pyload/manager/Plugin.py
+++ b/pyload/manager/Plugin.py
@@ -313,7 +313,8 @@ class PluginManager(object):
else: user = 0 # used as bool and int
split = fullname.split(".")
- if len(split) != 4 - user: return
+ if len(split) != 4 - user:
+ return
type, name = split[2 - user:4 - user]
if type in self.plugins and name in self.plugins[type]: