mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-19 20:24:39 +02:00
try check
This commit is contained in:
@@ -43,8 +43,9 @@ def generate():
|
|||||||
def test(words):
|
def test(words):
|
||||||
|
|
||||||
mnemo = Mnemonic("english")
|
mnemo = Mnemonic("english")
|
||||||
seed = mnemo.to_seed(words, passphrase="")
|
iscorrect = mnemo.check(words)
|
||||||
dump(seed)
|
dump(iscorrect)
|
||||||
|
print(iscorrect)
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
if sys.argv[1] == "generate":
|
if sys.argv[1] == "generate":
|
||||||
|
Reference in New Issue
Block a user