From 7ab16b360739c4754c954ceb54b226ab0a30c215 Mon Sep 17 00:00:00 2001 From: Nitzo Date: Sat, 2 Jan 2016 01:37:43 +0200 Subject: "is" is evil --- module/plugins/crypter/DlProtectCom.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'module/plugins/crypter/DlProtectCom.py') diff --git a/module/plugins/crypter/DlProtectCom.py b/module/plugins/crypter/DlProtectCom.py index c9c28ba48..e09dc9e2e 100644 --- a/module/plugins/crypter/DlProtectCom.py +++ b/module/plugins/crypter/DlProtectCom.py @@ -10,7 +10,7 @@ from module.plugins.internal.SimpleCrypter import SimpleCrypter class DlProtectCom(SimpleCrypter): __name__ = "DlProtectCom" __type__ = "crypter" - __version__ = "0.09" + __version__ = "0.10" __status__ = "testing" __pattern__ = r'https?://(?:www\.)?dl-protect\.com/((en|fr)/)?\w+' @@ -41,7 +41,7 @@ class DlProtectCom(SimpleCrypter): i = base64.b64decode(i) # Split information infos = i.split('|') - assert(len(infos) is 4) + assert(len(infos) == 4) res = infos[0] user_agent = infos[1] plugins = [x.split(';') for x in infos[2].split('&')] -- cgit v1.2.3