diff options
Diffstat (limited to 'module/plugins')
| -rw-r--r-- | module/plugins/captcha/captcha.py | 2 | ||||
| -rw-r--r-- | module/plugins/hoster/MegacrypterCom.py | 2 | 
2 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/captcha/captcha.py b/module/plugins/captcha/captcha.py index 7e4dec697..74b3205b4 100644 --- a/module/plugins/captcha/captcha.py +++ b/module/plugins/captcha/captcha.py @@ -268,7 +268,7 @@ class OCR(object):                      black_pixel_in_col = True -            if black_pixel_in_col == False and started == True: +            if black_pixel_in_col is False and started is True:                  rect = (firstX, topY, lastX, bottomY)                  new_captcha = captcha.crop(rect) 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"])  | 
