professional news logos fixed

This commit is contained in:
Neythen Treloar 2022-03-06 19:02:51 +00:00
parent 4234da896e
commit 2e8291b5d6

View File

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