diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-06-03 21:48:56 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-06-03 21:48:56 +0200 |
commit | 7ee5e4ca87d21ac2b8163fb24e795361c0bb2d03 (patch) | |
tree | 9255fe51008fd48e23d7e8326c9e00e5ad41f78b /module/plugins/Base.py | |
parent | Merge pull request #139 from d00fy/bugfix-setuppylgettext (diff) | |
parent | Inverted methods getConf <-> getConfig in plugins/base (diff) | |
download | pyload-7ee5e4ca87d21ac2b8163fb24e795361c0bb2d03.tar.xz |
Merge pull request #151 from vuolter/invertedconf
Inverted methods getConf <-> getConfig in plugins/base
Diffstat (limited to 'module/plugins/Base.py')
-rw-r--r-- | module/plugins/Base.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/Base.py b/module/plugins/Base.py index b96275db2..7825e1c49 100644 --- a/module/plugins/Base.py +++ b/module/plugins/Base.py @@ -150,11 +150,11 @@ class Base(object): def getConf(self, option): """ see `getConfig` """ - return self.core.config.get(self.__name__, option) + return self.getConfig(option) def getConfig(self, option): """ Returns config value for current plugin """ - return self.getConf(option) + return self.core.config.get(self.__name__, option) def setStorage(self, key, value): """ Saves a value persistently to the database """ |