mirror of
https://github.com/curly60e/pyblock.git
synced 2026-08-18 13:08:54 +02:00
Update ppi.py
This commit is contained in:
parent
ce1b07646c
commit
a7cd228981
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue