Update verification.py

fix missing paren (hopefully this was the intended behavior)
This commit is contained in:
pixel-stuck 2020-06-13 01:57:11 -04:00 committed by GitHub
parent a583240a93
commit d8ba6b42d6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -167,7 +167,7 @@ class Verification(Cog):
)
# Detect if the user uses the wrong hash algorithm
wrong_hash_algos = list(set(config.welcome_hashes) - {self.hash_choice}
wrong_hash_algos = list(set(config.welcome_hashes) - {self.hash_choice})
for algo in wrong_hash_algos:
for name in itertools.chain(allowed_names, close_names):
if hashlib.new(algo, name.encode("utf-8")).hexdigest() in mcl: