diff --git a/network.py b/network.py index cdc1ffb..e732477 100644 --- a/network.py +++ b/network.py @@ -2,8 +2,10 @@ import sopel.module import requests import re +# networkurl = "http://node.marty.cf:18019/getinfo" # networkurl = "http://node.xmrbackb.one:18081/getinfo" -networkurl = "http://opennode.minemonero.pro:18081/getinfo" +# networkurl = "http://opennode.minemonero.pro:18081/getinfo" +networkurl = "http://node.xmr.pt:18081/getinfo" @sopel.module.commands('fork', 'forkening') def fork(bot, trigger): diff --git a/price.py b/price.py index e87b9ac..cff92c4 100644 --- a/price.py +++ b/price.py @@ -616,8 +616,11 @@ def tall(bot, trigger): finexjson = finexresult.json() except: finexjson = False - if finexjson: - stringtosend += "Bitfinex last: {0:,.2f}, vol: {1:,.1f} | ".format(float(finexjson['last_price']), float(finexjson['volume'])) + try: + if finexjson: + stringtosend += "Bitfinex last: {0:,.2f}, vol: {1:,.1f} | ".format(float(finexjson['last_price']), float(finexjson['volume'])) + except: + stringtosend += "Finex sucks | " # Bitthumb try: thumbresult = requests.get(thumbbtcurl)