mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-04-23 23:10:24 +02:00
correct putput
This commit is contained in:
parent
660592eae8
commit
0b806e6cac
@ -43,9 +43,10 @@ def generate():
|
||||
def test(words):
|
||||
|
||||
mnemo = Mnemonic("english")
|
||||
iscorrect = mnemo.check(words)
|
||||
dump(iscorrect)
|
||||
print(iscorrect)
|
||||
if mnemo.check(words):
|
||||
print("valid=1")
|
||||
else
|
||||
print("valid=0")
|
||||
|
||||
def main():
|
||||
if sys.argv[1] == "generate":
|
||||
|
Loading…
x
Reference in New Issue
Block a user