From f606ebf886d1af65bed7fa2599db0f3958d691a4 Mon Sep 17 00:00:00 2001 From: Justin Date: Wed, 13 Sep 2023 22:26:55 +0800 Subject: [PATCH] upper() --- stockTicker.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/stockTicker.py b/stockTicker.py index d47ac7e..32aea9a 100755 --- a/stockTicker.py +++ b/stockTicker.py @@ -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)