From 453c1e55c71a96c9529ecdca1d55278cc41088d6 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Sat, 18 Jan 2014 18:45:13 +0100 Subject: rewritten download scheduling, improved account manager, db version increased all data will be overwritten --- pyload/PluginManager.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'pyload/PluginManager.py') 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) -- cgit v1.2.3