summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal/Addon.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/internal/Addon.py')
-rw-r--r--module/plugins/internal/Addon.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/module/plugins/internal/Addon.py b/module/plugins/internal/Addon.py
index ef2932b11..649eccbc1 100644
--- a/module/plugins/internal/Addon.py
+++ b/module/plugins/internal/Addon.py
@@ -25,7 +25,7 @@ def threaded(fn):
class Addon(Plugin):
__name__ = "Addon"
__type__ = "hook" #@TODO: Change to `addon` in 0.4.10
- __version__ = "0.02"
+ __version__ = "0.03"
__status__ = "testing"
__config__ = [] #: [("name", "type", "desc", "default")]
@@ -166,8 +166,9 @@ class Addon(Plugin):
#: Deprecated method, use `download_preparing` instead (Remove in 0.4.10)
- def downloadPreparing(self, *args, **kwargs):
- return self.download_preparing(*args, **kwargs)
+ def downloadPreparing(self, pyfile):
+ if pyfile.plugin.req is not None: #@TODO: Remove in 0.4.10
+ return self.download_preparing(pyfile)
def download_finished(self, pyfile):