summaryrefslogtreecommitdiffstats
path: root/module/plugins/Base.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-12-19 23:10:49 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-12-19 23:10:49 +0100
commit6eae782f13953dd0ba2bbe1b582cf33fd4d7d90a (patch)
treea7e80bc89b1a523854e1f3e3d9ec945023193212 /module/plugins/Base.py
parentpluginmanager cleanup (diff)
downloadpyload-6eae782f13953dd0ba2bbe1b582cf33fd4d7d90a.tar.xz
configparser v2, warning CONFIG will be DELETED.
Diffstat (limited to 'module/plugins/Base.py')
-rw-r--r--module/plugins/Base.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/Base.py b/module/plugins/Base.py
index b166ebae8..5a78fddc3 100644
--- a/module/plugins/Base.py
+++ b/module/plugins/Base.py
@@ -75,7 +75,7 @@ class Base(object):
def setConf(self, option, value):
""" see `setConfig` """
- self.core.config.setPlugin(self.__name__, option, value)
+ self.core.config.set(self.__name__, option, value)
def setConfig(self, option, value):
""" Set config value for current plugin
@@ -88,7 +88,7 @@ class Base(object):
def getConf(self, option):
""" see `getConfig` """
- return self.core.config.getPlugin(self.__name__, option)
+ return self.core.config.get(self.__name__, option)
def getConfig(self, option):
""" Returns config value for current plugin