mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-25 07:07:46 +01:00
correct putput
This commit is contained in:
parent
660592eae8
commit
0b806e6cac
1 changed files with 4 additions and 3 deletions
|
@ -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…
Add table
Reference in a new issue