mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-19 04:00:34 +02:00
correct putput
This commit is contained in:
@@ -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":
|
||||||
|
Reference in New Issue
Block a user