summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-07-05 18:05:16 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-07-05 18:05:16 +0200
commit654f816389e2a91f82d9569b4a12fb5f7c356545 (patch)
tree8fdedff50ffc1bba85df1d92bf920366b7bf77fc /module/plugins/hoster
parent[UpdateManager] Better if-condition check (thx stickell) (diff)
downloadpyload-654f816389e2a91f82d9569b4a12fb5f7c356545.tar.xz
Use "is" instead "==" for bool condition check
Diffstat (limited to 'module/plugins/hoster')
-rw-r--r--module/plugins/hoster/MegacrypterCom.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hoster/MegacrypterCom.py b/module/plugins/hoster/MegacrypterCom.py
index ee6be39a2..9fcf40214 100644
--- a/module/plugins/hoster/MegacrypterCom.py
+++ b/module/plugins/hoster/MegacrypterCom.py
@@ -36,7 +36,7 @@ class MegacrypterCom(MegaNz):
dl = self.callApi(link=node, m="dl")
# TODO: map error codes, implement password protection
- # if info["pass"] == True:
+ # if info["pass"] is True:
# crypted_file_key, md5_file_key = info["key"].split("#")
key = self.b64_decode(info["key"])