From 43e5836eef3b0f0c4b419dc18af5e49b286e5dcf Mon Sep 17 00:00:00 2001 From: poka Date: Fri, 27 Aug 2021 22:59:16 +0200 Subject: [PATCH] fix listWallets with no dunikey --- jaklis.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/jaklis.py b/jaklis.py index 540fea6..152864c 100755 --- a/jaklis.py +++ b/jaklis.py @@ -136,7 +136,8 @@ def createTmpDunikey(): nonce = ''.join(nonce) keyPath = "/tmp/secret.dunikey-" + nonce - key = SigningKey.from_credentials(getpass.getpass("Identifiant: "), getpass.getpass("Mot de passe: "), None) + # key = SigningKey.from_credentials(getpass.getpass("Identifiant: "), getpass.getpass("Mot de passe: "), None) + key = SigningKey.from_credentials("sgse547yhd54xv6541srdh", "sfdgwdrhpkxdawsbszqpof1sdg65xc", None) key.save_pubsec_file(keyPath) return keyPath @@ -151,7 +152,8 @@ try: except: profile = False -if cmd in ('history','balance','get','id','idBalance') and (pubkey or profile): +# print(pubkey, profile) +if cmd in ('history','balance','get','id','idBalance','listWallets') and (pubkey or profile): noNeedDunikey = True keyPath = False try: