Merge pull request #62 from scoobybejesus/patch-8

Two ways to make python3 happy
This commit is contained in:
jw
2021-07-11 11:47:12 -04:00
committed by GitHub
+2 -2
View File
@@ -20,7 +20,7 @@ def fork(bot, trigger):
try:
r=requests.get(networkurl)
j=r.json()
except Exception,e:
except Exception as e:
pass
try:
height=j["height"]
@@ -37,7 +37,7 @@ def network(bot, trigger):
try:
r=requests.get(networkurl)
j=r.json()
except Exception,e:
except:
pass
try:
height=j["height"]