This commit is contained in:
Justin 2023-09-13 22:26:55 +08:00 committed by GitHub
parent 9a357655f4
commit f606ebf886
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1141,7 +1141,7 @@ class StockTicker():
point_change = False
if names:
ticker = coin_info[cb]['name']
ticker = coin_info[cb]['name'].upper()
midFrame = self.textToImage(ticker, current, arrow, percent_change, point_change) #IMAGE THE TEXT
else:
midFrame = self.textToImage(ticker + '(' + base + ')', current, arrow, percent_change, point_change) #IMAGE THE TEXT
@ -2117,7 +2117,7 @@ class StockTicker():
change = float(info['change']) #TEXT
if names:
ticker = info['name'] #TEXT
ticker = info['name'].upper() #TEXT
else:
ticker = symbol
@ -6750,7 +6750,7 @@ class StockTicker():
info = active_info[symbol]
change = float(info['change']) #TEXT
if names:
ticker = info['name'] #TEXT
ticker = info['name'].upper() #TEXT
else:
ticker = symbol
arrow, change = self.getArrow(change)