From da3cd9b9a6db0c40eddd45d5d87319e2edf6fc02 Mon Sep 17 00:00:00 2001 From: Sourcery AI <> Date: Tue, 22 Mar 2022 22:20:03 +0000 Subject: [PATCH] 'Refactored by Sourcery' --- pybitblock/clockscript.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pybitblock/clockscript.py b/pybitblock/clockscript.py index 3fc852f..a8064b1 100644 --- a/pybitblock/clockscript.py +++ b/pybitblock/clockscript.py @@ -144,7 +144,10 @@ while True: # Loop blogo() print("Welcome to \033[1;31;40mPyBLOCK\033[0;37;40m\n\n") print("\n\tIf you are going to use your local node leave IP:PORT/USER/PASSWORD in blank.\n") - path['ip_port'] = "http://{}".format(input("Insert IP:PORT to access your remote Bitcoin-Cli node: ")) + path[ + 'ip_port' + ] = f'http://{input("Insert IP:PORT to access your remote Bitcoin-Cli node: ")}' + path['rpcuser'] = input("RPC User: ") path['rpcpass'] = input("RPC Password: ") print("\n\tLocal Bitcoin Core Node connection.\n")