summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar GammaC0de <nitzo2001@yahoo.com> 2016-04-30 04:58:20 +0200
committerGravatar GammaC0de <nitzo2001@yahoo.com> 2016-04-30 04:58:20 +0200
commit80ed9acff2676d9242f57db9a6650e4ee4e06d76 (patch)
tree14918fd82035c8ed23f0552e80279542b5c5c901
parent[MegaCoNz] Restructure and some bug fixes (diff)
downloadpyload-80ed9acff2676d9242f57db9a6650e4ee4e06d76.tar.xz
[Checksum] Fix #540
-rw-r--r--module/plugins/hooks/Checksum.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/module/plugins/hooks/Checksum.py b/module/plugins/hooks/Checksum.py
index 9ecd79a0a..bd5b0ffde 100644
--- a/module/plugins/hooks/Checksum.py
+++ b/module/plugins/hooks/Checksum.py
@@ -38,7 +38,7 @@ def compute_checksum(local_file, algorithm):
class Checksum(Addon):
__name__ = "Checksum"
__type__ = "hook"
- __version__ = "0.29"
+ __version__ = "0.30"
__status__ = "broken"
__config__ = [("activated" , "bool" , "Activated" , False ),
@@ -166,6 +166,7 @@ class Checksum(Addon):
elif check_action == "nothing":
return
+ os.remove(local_file)
pyfile.plugin.fail(msg)