diff --git a/pybitblock/SPV/spvblock.py b/pybitblock/SPV/spvblock.py index 6384fdaa..61a88bd1 100644 --- a/pybitblock/SPV/spvblock.py +++ b/pybitblock/SPV/spvblock.py @@ -571,11 +571,12 @@ def bitaxeA(): # show srings print(output) responseC = input("Your Bitaxe ip XXX.XXX.XXX.XXX: ") - list = f"""curl -s 'http://{responseC}/api/ws' """ - a = os.popen(str(list)).read() - b = a - print("\nBitAxe ip: " + responseC) - print("\nLogs:\n" + b) + ip = "http://" + ep = responseC + pi = "/api/ws" + list = subprocess.Popen(['curl', ip+ep+pi]) + input("\a\n...Loading Logs...\n\n") + a = os.popen(list) input("\a\nContinue...") except: pass