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'))