parent
25e97a8b9b
commit
aeb970f930
|
@ -20,7 +20,7 @@ def fork(bot, trigger):
|
||||||
try:
|
try:
|
||||||
r=requests.get(networkurl)
|
r=requests.get(networkurl)
|
||||||
j=r.json()
|
j=r.json()
|
||||||
except Exception,e:
|
except Exception as e:
|
||||||
pass
|
pass
|
||||||
try:
|
try:
|
||||||
height=j["height"]
|
height=j["height"]
|
||||||
|
@ -37,7 +37,7 @@ def network(bot, trigger):
|
||||||
try:
|
try:
|
||||||
r=requests.get(networkurl)
|
r=requests.get(networkurl)
|
||||||
j=r.json()
|
j=r.json()
|
||||||
except Exception,e:
|
except:
|
||||||
pass
|
pass
|
||||||
try:
|
try:
|
||||||
height=j["height"]
|
height=j["height"]
|
||||||
|
|
Loading…
Reference in New Issue