diff options
author | 2015-01-22 21:31:19 +0100 | |
---|---|---|
committer | 2015-01-22 21:31:19 +0100 | |
commit | cf4ded052964047de88d676045329b8fa4fca2dc (patch) | |
tree | 5864aad4f34b273044018393b6bb9be690162050 /module/plugins/hoster/MegaCoNz.py | |
parent | [CaptchaService] Merge together ReCaptcha versions (diff) | |
download | pyload-cf4ded052964047de88d676045329b8fa4fca2dc.tar.xz |
Update plugins after CaptchaService changes
Diffstat (limited to 'module/plugins/hoster/MegaCoNz.py')
-rw-r--r-- | module/plugins/hoster/MegaCoNz.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/MegaCoNz.py b/module/plugins/hoster/MegaCoNz.py index fbd34c563..4ad20b265 100644 --- a/module/plugins/hoster/MegaCoNz.py +++ b/module/plugins/hoster/MegaCoNz.py @@ -124,7 +124,7 @@ class MegaCoNz(Hoster): df = open(file_decrypted, "wb") except IOError, e: - self.fail(str(e)) + self.fail(e) chunk_size = 2 ** 15 # buffer size, 32k # file_mac = [0, 0, 0, 0] # calculate CBC-MAC for checksum @@ -160,7 +160,7 @@ class MegaCoNz(Hoster): # if file_mac[0] ^ file_mac[1], file_mac[2] ^ file_mac[3] != meta_mac: # os.remove(file_decrypted) - # self.fail("Checksum mismatch") + # self.fail(_("Checksum mismatch")) os.remove(file_crypted) self.lastDownload = fs_decode(file_decrypted) |