Fix wrong syntax

This commit is contained in:
Khiem Doan 2020-11-26 14:19:06 +07:00
parent af7d27ac8c
commit fb10d20ea3
3 changed files with 4 additions and 4 deletions

View file

@ -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 self.NumChal != "random":
print(utils.color("[!] The challenge must be exactly 16 chars long.\nExample: 1122334455667788", 1))
sys.exit(-1)