diff options
author | Stefano <l.stickell@yahoo.it> | 2013-09-15 20:07:09 +0200 |
---|---|---|
committer | Stefano <l.stickell@yahoo.it> | 2013-09-24 19:45:29 +0200 |
commit | a6e047b16569802fdbfa16bbbbf44fb2a6e5d1a8 (patch) | |
tree | e8540e761bbf55f9c7d1a31e0769bbe1c8ed002a /pyload/plugins/addons/ClickAndLoad.py | |
parent | improved login / logout rendering (diff) | |
download | pyload-a6e047b16569802fdbfa16bbbbf44fb2a6e5d1a8.tar.xz |
Merge pull request #218 from vuolter/s/plugin/coreconfig
Use config instead core.config for plugins
(cherry picked from commit 511f0e17eb598b078a48a6eac0fdab5438cf539c)
Conflicts:
pyload/plugins/addons/ClickAndLoad.py
Diffstat (limited to 'pyload/plugins/addons/ClickAndLoad.py')
-rw-r--r-- | pyload/plugins/addons/ClickAndLoad.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pyload/plugins/addons/ClickAndLoad.py b/pyload/plugins/addons/ClickAndLoad.py index 8fe346b51..8958da8af 100644 --- a/pyload/plugins/addons/ClickAndLoad.py +++ b/pyload/plugins/addons/ClickAndLoad.py @@ -26,7 +26,7 @@ from module.plugins.Addon import Addon class ClickAndLoad(Addon): __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(Addon): __author_mail__ = ("RaNaN@pyload.de", "mkaay@mkaay.de") def activate(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" |