Skip to content
Permalink
Browse files
clarify the unknown algorithm
  • Loading branch information
gstein committed Jan 17, 2020
1 parent 7b27d07 commit 24a6ebe5b861550d27302f2a16c53bfd8c0663a3
Showing 1 changed file with 1 addition and 1 deletion.
2 otp.py
@@ -161,7 +161,7 @@ def main():
pwd = pwds[seed]

processor = ALGOS.get(algo)
assert processor, 'Unknown/unsupported algorithm.'
assert processor, 'Unknown/unsupported algorithm: "%s"' % (algo,)

value = processor(seed + pwd, seq)
response = ' '.join(to_words(value))

0 comments on commit 24a6ebe

Please sign in to comment.