From 64ddaeccd4c30abf6d7c7bcbd614f9036ee6d699 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=B6rmet=20Yiltiz?= Date: Mon, 31 Aug 2020 15:04:53 -0400 Subject: [PATCH] Warning about literal /usr/share/responder/settings.py:209: SyntaxWarning: "is not" with a literal. Did you mean "!="? --- settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/settings.py b/settings.py index d969985..8deaf8f 100644 --- a/settings.py +++ b/settings.py @@ -206,7 +206,7 @@ class Settings: if self.NumChal.lower() == 'random': self.NumChal = "random" - if len(self.NumChal) is not 16 and not "random": + if len(self.NumChal) != 16 and not "random": print(utils.color("[!] The challenge must be exactly 16 chars long.\nExample: 1122334455667788", 1)) sys.exit(-1)