summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/MegaCoNz.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-12-18 06:09:04 +0100
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-12-27 22:37:54 +0100
commit58125cc90a78b67093b8213247ea647dd67dd9ca (patch)
tree69ae964377cbd45430bb78ade3930b820e867a55 /module/plugins/hoster/MegaCoNz.py
parent[OCR] self.image -> self.img (diff)
downloadpyload-58125cc90a78b67093b8213247ea647dd67dd9ca.tar.xz
Spare code fixes
Diffstat (limited to 'module/plugins/hoster/MegaCoNz.py')
-rw-r--r--module/plugins/hoster/MegaCoNz.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/MegaCoNz.py b/module/plugins/hoster/MegaCoNz.py
index 054116404..12cbd2635 100644
--- a/module/plugins/hoster/MegaCoNz.py
+++ b/module/plugins/hoster/MegaCoNz.py
@@ -163,10 +163,10 @@ class MegaCoNz(Hoster):
df.close()
# if file_mac[0] ^ file_mac[1], file_mac[2] ^ file_mac[3] is not meta_mac:
- # os.remove(file_decrypted)
+ # self.remove(file_decrypted, trash=False)
# self.fail(_("Checksum mismatch"))
- os.remove(file_crypted)
+ self.remove(file_crypted, trash=False)
self.last_download = decode(file_decrypted)