mirror of
https://github.com/jwinterm/monerobux.git
synced 2026-10-17 05:21:27 +02:00
Two ways to make python3 happy
python3 syntax
This commit is contained in:
+2
-2
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user