Update ppi.py

This commit is contained in:
Satoshi Nakamoto 2023-06-15 21:59:24 +02:00 committed by GitHub
parent ce1b07646c
commit a7cd228981
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -353,7 +353,7 @@ def mtclock():
pickle.dump(settingsClock, open("config/pyblocksettingsClock.conf", "wb"))
clear()
r = requests.get('https://bitcoinexplorer.org/api/price/sats/')
r.headers['Content-Type']
r.json()["usd"]
n = r.text
di = json.loads(n)
a = di
@ -365,7 +365,7 @@ def mtclock():
while True:
x = b
r = requests.get('https://bitcoinexplorer.org/api/price/sats/')
r.headers['Content-Type']
r.json()["usd"]
n = r.text
di = json.loads(n)
a = di