From c65b3eee9be4222ece2bc38ef98ef583c04f075a Mon Sep 17 00:00:00 2001 From: Satoshi Nakamoto <65907137+SatoshiNakamotoBitcoin@users.noreply.github.com> Date: Tue, 23 Jul 2024 02:11:05 +0200 Subject: [PATCH] Update ppi.py --- pybitblock/ppi.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pybitblock/ppi.py b/pybitblock/ppi.py index 2b23fba..db6ef5a 100644 --- a/pybitblock/ppi.py +++ b/pybitblock/ppi.py @@ -338,7 +338,7 @@ def pgpConn(): def mtConn(): # here we convert the result of the command 'getblockcount' on a random art design while True: try: - conn = """curl -s https://blockchain.info/tobtc?currency=USD&value=1 """ + conn = """curl -s 'https://blockchain.info/tobtc?currency=USD&value=1' """ a = os.popen(conn).read() clear() blogo() @@ -352,7 +352,7 @@ def mtConn(): # here we convert the result of the command 'getblockcount' on a r def mtclock(): try: - conn = """curl -s https://blockchain.info/tobtc?currency=USD&value=1 """ + conn = """curl -s 'https://blockchain.info/tobtc?currency=USD&value=1' """ a = os.popen(conn).read() clear() blogo()