diff options
-rw-r--r-- | pyload/manager/Plugin.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/manager/Plugin.py b/pyload/manager/Plugin.py index 08fbcc953..31396d010 100644 --- a/pyload/manager/Plugin.py +++ b/pyload/manager/Plugin.py @@ -37,14 +37,14 @@ class PluginManager(object): def loadTypes(self): - rootdir = join(pypath, "pyload", "plugins") + rootdir = join(pypath, "pyload", "plugin") userdir = "userplugins" types = set().union(*[[d for d in listdir(p) if isdir(join(p, d))] for p in (rootdir, userdir) if exists(p)]) if not types: - self.log.critical(_("No plugins found!")) + self.core.log.critical(_("No plugins found!")) self.TYPES = list(set(self.TYPES) | types) |