mirror of
https://github.com/lgandx/Responder.git
synced 2025-08-22 14:23:39 -07:00
Warning about literal
/usr/share/responder/settings.py:209: SyntaxWarning: "is not" with a literal. Did you mean "!="?
This commit is contained in:
parent
42a7e3b75c
commit
64ddaeccd4
1 changed files with 1 additions and 1 deletions
|
@ -206,7 +206,7 @@ class Settings:
|
||||||
if self.NumChal.lower() == 'random':
|
if self.NumChal.lower() == 'random':
|
||||||
self.NumChal = "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))
|
print(utils.color("[!] The challenge must be exactly 16 chars long.\nExample: 1122334455667788", 1))
|
||||||
sys.exit(-1)
|
sys.exit(-1)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue