Merge pull request #38 from scoobybejesus/patch-9

Proper xmrtall spacing makes luigi happy
This commit is contained in:
jw 2018-02-21 21:26:25 -08:00 committed by GitHub
commit a18ac6fc0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 10 deletions

View File

@ -674,12 +674,12 @@ def xmrtall(bot, trigger):
last=float(i['LastPrice'])
# change=float(i['Change'])
vol=float(i['Volume'])
stringtosend += "Cryptopia last: {0:.6f} {1} on {2:.2f} {1} volume | ".format(last, pair, vol*last)
# stringtosend += "Cryptopia last: {0:.6f} {1} on {2:.2f} {1} volume | ".format(last, pair, vol*last)
found = True
if found == False:
bot.say("WTF?!?")
except:
bot.say("Something borked -.--=≡≡卍")
# if found == False:
# bot.say("WTF?!?")
# except:
# bot.say("Something borked -.--=≡≡卍")
# Tux
try:
@ -693,9 +693,9 @@ def xmrtall(bot, trigger):
last=float(coin['last'])
vol=float(coin['baseVolume'])
# change=float(coin['percentChange'])
stringtosend += "Tux last: {0:.6f} BTC on {1:.2f} BTC volume. ".format(last, vol)
except:
bot.say("Something borked ( ︶︿︶)_╭∩╮")
# stringtosend += "Tux last: {0:.6f} BTC on {1:.2f} BTC volume. ".format(last, vol)
# except:
# bot.say("Something borked ( ︶︿︶)_╭∩╮")
#Finally... print to IRC
bot.say(stringtosend[:-1])