summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-12-31 14:45:55 +0100
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-12-31 14:45:55 +0100
commit97c403b9e8f8ef11c11f8cd5e33f7ffceb31e38c (patch)
tree84ad29067aae2316b1a749ec237bb6c180e47d18 /module/plugins/internal
parentVersion up (diff)
downloadpyload-97c403b9e8f8ef11c11f8cd5e33f7ffceb31e38c.tar.xz
[Addon] Fix download_finished call
Thanks to youlJunior
Diffstat (limited to 'module/plugins/internal')
-rw-r--r--module/plugins/internal/Addon.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/module/plugins/internal/Addon.py b/module/plugins/internal/Addon.py
index 183186fd2..b171813d8 100644
--- a/module/plugins/internal/Addon.py
+++ b/module/plugins/internal/Addon.py
@@ -25,7 +25,7 @@ class Expose(object):
class Addon(Plugin):
__name__ = "Addon"
__type__ = "hook" #@TODO: Change to `addon` in 0.4.10
- __version__ = "0.50"
+ __version__ = "0.51"
__status__ = "stable"
__threaded__ = [] #@TODO: Remove in 0.4.10
@@ -186,8 +186,7 @@ class Addon(Plugin):
#: Deprecated method, use `download_finished` instead (Remove in 0.4.10)
def downloadFinished(self, pyfile):
- if pyfile.hasStatus("finished"): #: Check if still "finished" (Fix in 0.4.10)
- return self.download_finished(pyfile)
+ return self.download_finished(pyfile)
def download_failed(self, pyfile):