From 4a3a81b63cd85cc3dcd9669868a2079da65838a2 Mon Sep 17 00:00:00 2001
From: RaNaN <Mast3rRaNaN@hotmail.de>
Date: Tue, 3 Jan 2012 20:41:23 +0100
Subject: fixes for old style decrypter

---
 module/plugins/Base.py | 17 ++++++-----------
 1 file changed, 6 insertions(+), 11 deletions(-)

(limited to 'module/plugins/Base.py')

diff --git a/module/plugins/Base.py b/module/plugins/Base.py
index b2338a01f..0ad0d5caa 100644
--- a/module/plugins/Base.py
+++ b/module/plugins/Base.py
@@ -90,18 +90,13 @@ class Base(object):
 
         getattr(self.log, level)("%s: %s" % (self.__name__, sep.join([a if isinstance(a, basestring) else str(a) for a in args])))
 
-    def setConf(self, option, value):
-        """ see `setConfig` """
-        self.core.config.set(self.__name__, option, value)
-
     def setConfig(self, option, value):
         """ Set config value for current plugin
 
         :param option:
         :param value:
-        :return:
         """
-        self.setConf(option, value)
+        self.core.config.set(self.__name__, option, value)
 
     def getConf(self, option):
         """ see `getConfig` """
@@ -148,11 +143,11 @@ class Base(object):
     def load(self, url, get={}, post={}, ref=True, cookies=True, just_header=False, decode=False):
         """Load content at url and returns it
 
-        :param url:
-        :param get:
-        :param post:
-        :param ref:
-        :param cookies:
+        :param url: url as string
+        :param get: GET as dict
+        :param post: POST as dict
+        :param ref: Set HTTP_REFERER header
+        :param cookies: use saved cookies
         :param just_header: if True only the header will be retrieved and returned as dict
         :param decode: Wether to decode the output according to http header, should be True in most cases
         :return: Loaded content
-- 
cgit v1.2.3