adjust format
This commit is contained in:
parent
9e3a7b68fe
commit
d183172ca7
|
@ -71,9 +71,9 @@ class StockIndex(ModuleBase):
|
||||||
|
|
||||||
warning = "" if time() - self.last_update < warn_thresh else " \x030(quote is out-of-date)"
|
warning = "" if time() - self.last_update < warn_thresh else " \x030(quote is out-of-date)"
|
||||||
|
|
||||||
self.bot.act_PRIVMSG(to, "{}{} ${:.2f} {}{:.2f} ({:.2f}%){}{}".format(color,
|
self.bot.act_PRIVMSG(to, "{} ${:,.2f} {}{}{:,.2f} ({:.2f}%){}{}".format(symbol,
|
||||||
symbol,
|
|
||||||
index["price"],
|
index["price"],
|
||||||
|
color,
|
||||||
plusmin,
|
plusmin,
|
||||||
change,
|
change,
|
||||||
percentchange,
|
percentchange,
|
||||||
|
|
Loading…
Reference in New Issue