diff options
author | Armin <Armin@Armin-PC.diedering.lan> | 2015-04-04 14:36:14 +0200 |
---|---|---|
committer | Armin <Armin@Armin-PC.diedering.lan> | 2015-04-04 14:36:14 +0200 |
commit | a9b7f881094d4645cad6f2603ff879749ba06813 (patch) | |
tree | 55d57780cbfc5343e9cd42b94bf03dd9e8a2bdb5 | |
parent | fix (diff) | |
download | pyload-a9b7f881094d4645cad6f2603ff879749ba06813.tar.xz |
fix plugin location
-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) |