mirror of
https://github.com/Ryujinx/ryuko-ng.git
synced 2024-12-22 20:15:30 +00:00
verification: Fix issue with wrong messages
Closes #72 Bit of a hack, heh.
This commit is contained in:
parent
057b3c81a9
commit
a583240a93
|
@ -167,7 +167,7 @@ class Verification(Cog):
|
|||
)
|
||||
|
||||
# Detect if the user uses the wrong hash algorithm
|
||||
wrong_hash_algos = 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:
|
||||
|
|
Loading…
Reference in a new issue