professional news logos fixed
This commit is contained in:
parent
4234da896e
commit
2e8291b5d6
@ -1505,7 +1505,7 @@ class StockTicker():
|
|||||||
|
|
||||||
|
|
||||||
try:
|
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')
|
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'))
|
logo = Image.open(os.path.join(logos_path, logo_name + '.png'))
|
||||||
|
Loading…
Reference in New Issue
Block a user