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):
|
||||
|
||||
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":
|
||||
|
Reference in New Issue
Block a user