diff options
author | Walter Purcaro <vuolter@gmail.com> | 2013-08-02 01:03:54 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2013-09-03 23:07:54 +0200 |
commit | 6a6ec88816afecf43430e63908e8b2330b567b5f (patch) | |
tree | 849fa07d37b8eeebfed11a4b4426d8990b9da323 /module/plugins/hooks/ClickAndLoad.py | |
parent | BitshareCom: fixes (diff) | |
download | pyload-6a6ec88816afecf43430e63908e8b2330b567b5f.tar.xz |
Plugins: core.config -> config
Diffstat (limited to 'module/plugins/hooks/ClickAndLoad.py')
-rw-r--r-- | module/plugins/hooks/ClickAndLoad.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hooks/ClickAndLoad.py b/module/plugins/hooks/ClickAndLoad.py index 94185251f..0fc78abfe 100644 --- a/module/plugins/hooks/ClickAndLoad.py +++ b/module/plugins/hooks/ClickAndLoad.py @@ -26,7 +26,7 @@ from module.plugins.Hook import Hook class ClickAndLoad(Hook): __name__ = "ClickAndLoad" - __version__ = "0.21" + __version__ = "0.22" __description__ = """Gives abillity to use jd's click and load. depends on webinterface""" __config__ = [("activated", "bool", "Activated", "True"), ("extern", "bool", "Allow external link adding", "False")] @@ -34,8 +34,8 @@ class ClickAndLoad(Hook): __author_mail__ = ("RaNaN@pyload.de", "mkaay@mkaay.de") def coreReady(self): - self.port = int(self.core.config['webinterface']['port']) - if self.core.config['webinterface']['activated']: + self.port = int(self.config['webinterface']['port']) + if self.config['webinterface']['activated']: try: if self.getConfig("extern"): ip = "0.0.0.0" |