summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter
diff options
context:
space:
mode:
authorGravatar Nitzo <nitzo2001@yahoo.com> 2016-04-30 16:24:17 +0200
committerGravatar Nitzo <nitzo2001@yahoo.com> 2016-04-30 16:24:17 +0200
commit814bf15ed40a66c512f5bfb69643ca9e5a8c43de (patch)
tree2c2df7cf1008bbb22e9b6aec42952c85b2d89adf /module/plugins/crypter
parent[Checksum] Fix #540 (diff)
downloadpyload-814bf15ed40a66c512f5bfb69643ca9e5a8c43de.tar.xz
[MegaCoNz] Code cosmetics
Diffstat (limited to 'module/plugins/crypter')
-rw-r--r--module/plugins/crypter/MegaCoNzFolder.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/module/plugins/crypter/MegaCoNzFolder.py b/module/plugins/crypter/MegaCoNzFolder.py
index 3d47ede05..8e63fc992 100644
--- a/module/plugins/crypter/MegaCoNzFolder.py
+++ b/module/plugins/crypter/MegaCoNzFolder.py
@@ -2,13 +2,14 @@
from module.plugins.internal.Crypter import Crypter
from module.plugins.internal.misc import json
+
from module.plugins.hoster.MegaCoNz import MegaClient, MegaCrypto
class MegaCoNzFolder(Crypter):
__name__ = "MegaCoNzFolder"
__type__ = "crypter"
- __version__ = "0.16"
+ __version__ = "0.17"
__status__ = "testing"
__pattern__ = r'(https?://(?:www\.)?mega(\.co)?\.nz/|mega:|chrome:.+?)#F!(?P<ID>[\w^_]+)!(?P<KEY>[\w,\-=]+)'
@@ -26,7 +27,7 @@ class MegaCoNzFolder(Crypter):
id = self.info['pattern']['ID']
master_key = self.info['pattern']['KEY']
- self.log_debug("ID: %s" % id, "Key: %s" % master_key, "Type: public folder")
+ self.log_debug(_("ID: %s") % id, _("Key: %s") % master_key, _("Type: public folder"))
master_key = MegaCrypto.base64_to_a32(master_key)