From 2e8291b5d6a14ecea08bb41187237d140ea2b7eb Mon Sep 17 00:00:00 2001 From: Neythen Treloar Date: Sun, 6 Mar 2022 19:02:51 +0000 Subject: [PATCH] professional news logos fixed --- stockTicker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stockTicker.py b/stockTicker.py index e92308d..b1e9e9f 100755 --- a/stockTicker.py +++ b/stockTicker.py @@ -1505,7 +1505,7 @@ class StockTicker(): try: - logo_name = source[i].lower().replace(' ', '-') + logo_name = source.lower().replace(' ', '-') logos_path = os.path.join(os.path.join(os.path.dirname(os.path.abspath(__file__)), 'logos'), 'news_logos') logo = Image.open(os.path.join(logos_path, logo_name + '.png'))