diff options
author | Walter Purcaro <vuolter@gmail.com> | 2013-06-03 21:36:03 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2013-06-03 21:36:03 +0200 |
commit | 117229c51a71e609f1bd60d00d1b7817d513bb28 (patch) | |
tree | 9255fe51008fd48e23d7e8326c9e00e5ad41f78b | |
parent | Merge pull request #139 from d00fy/bugfix-setuppylgettext (diff) | |
download | pyload-117229c51a71e609f1bd60d00d1b7817d513bb28.tar.xz |
Inverted methods getConf <-> getConfig in plugins/base
-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 """ |