Proper xmrtall spacing makes luigi happy

This commit is contained in:
scoobybejesus 2018-02-15 12:30:38 -05:00 committed by GitHub
parent 8da04665ca
commit aa52c5ec97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -603,7 +603,7 @@ def xmrtall(bot, trigger):
# Finally, price in BTC, and volume in XMR
thumbBTCxmr = thumbXMRkrw/thumbBTCkrw
thumbXMRVol = float(xmrjson['data']['volume_1day'])
stringtosend = "Bithumb last: {0:.6f} BTC on {1:.2f} XMR volume |".format(thumbBTCxmr,thumbXMRVol)
stringtosend = "Bithumb last: {0:.6f} BTC on {1:.2f} XMR volume | ".format(thumbBTCxmr,thumbXMRVol)
except:
bot.say("Error - bithumb korea is worst korea.")
@ -644,7 +644,7 @@ def xmrtall(bot, trigger):
if i["symbol"] == "XMRBTC":
last=float(i['lastPrice'])
vol=float(i['volume'])
stringtosend += ("Binance last: {0:.6f} on {1:.2f} BTC volume |".format(last, vol*last))
stringtosend += ("Binance last: {0:.6f} on {1:.2f} BTC volume | ".format(last, vol*last))
found = True
except:
bot.say("Borka borka ┌∩┐(◣_◢)┌∩┐")