summaryrefslogtreecommitdiffstats
path: root/pyload/api
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-11-22 12:44:43 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-11-22 12:44:43 +0100
commit6d50437b1ff31cdb1ae2622f198c1a48d51bdfc0 (patch)
treef9266a0adfa6922e18a05c342919bd5ad2389f3c /pyload/api
parentMerge pull request #216 from vuolter/m/periodical (diff)
downloadpyload-6d50437b1ff31cdb1ae2622f198c1a48d51bdfc0.tar.xz
fixed and improved last pull request
Diffstat (limited to 'pyload/api')
-rw-r--r--pyload/api/AddonApi.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pyload/api/AddonApi.py b/pyload/api/AddonApi.py
index 4ae686d2d..12d3170d7 100644
--- a/pyload/api/AddonApi.py
+++ b/pyload/api/AddonApi.py
@@ -5,6 +5,7 @@ from pyload.Api import Api, RequirePerm, Permission
from ApiComponent import ApiComponent
+
class AddonApi(ApiComponent):
""" Methods to interact with addons """
@@ -23,5 +24,6 @@ class AddonApi(ApiComponent):
"""
return self.core.addonManager.getInfo(plugin)
+
if Api.extend(AddonApi):
del AddonApi \ No newline at end of file