diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-12-31 14:45:55 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-12-31 14:45:55 +0100 |
commit | 97c403b9e8f8ef11c11f8cd5e33f7ffceb31e38c (patch) | |
tree | 84ad29067aae2316b1a749ec237bb6c180e47d18 /module/plugins/internal | |
parent | Version up (diff) | |
download | pyload-97c403b9e8f8ef11c11f8cd5e33f7ffceb31e38c.tar.xz |
[Addon] Fix download_finished call
Thanks to youlJunior
Diffstat (limited to 'module/plugins/internal')
-rw-r--r-- | module/plugins/internal/Addon.py | 5 |
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): |