diff options
Diffstat (limited to 'pyload/PluginManager.py')
-rw-r--r-- | pyload/PluginManager.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/pyload/PluginManager.py b/pyload/PluginManager.py index f3d2b999d..389eb86a2 100644 --- a/pyload/PluginManager.py +++ b/pyload/PluginManager.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- ############################################################################### -# Copyright(c) 2008-2013 pyLoad Team +# Copyright(c) 2008-2014 pyLoad Team # http://www.pyload.org # # This file is part of pyLoad. @@ -12,7 +12,7 @@ # # Subjected to the terms and conditions in LICENSE # -# @author: RaNaN, mkaay +# @author: RaNaN ############################################################################### import sys @@ -132,6 +132,10 @@ class PluginManager: return res["hoster"], res["crypter"] + def findPlugin(self, name): + """ Finds the type to a plugin name """ + return self.loader.findPlugin(name) + def getPlugin(self, plugin, name): """ Retrieves the plugin tuple for a single plugin or none """ return self.loader.getPlugin(plugin, name) |