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):
|
def test(words):
|
||||||
|
|
||||||
mnemo = Mnemonic("english")
|
mnemo = Mnemonic("english")
|
||||||
iscorrect = mnemo.check(words)
|
if mnemo.check(words):
|
||||||
dump(iscorrect)
|
print("valid=1")
|
||||||
print(iscorrect)
|
else
|
||||||
|
print("valid=0")
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
if sys.argv[1] == "generate":
|
if sys.argv[1] == "generate":
|
||||||
|
|
Loading…
Add table
Reference in a new issue