typo
This commit is contained in:
parent
f4a9ef54c6
commit
d16066d0ed
@ -7024,7 +7024,7 @@ class StockTicker():
|
|||||||
if sector_settings['logos']:
|
if sector_settings['logos']:
|
||||||
try:
|
try:
|
||||||
try: #load the tiny logo
|
try: #load the tiny logo
|
||||||
logos_path = os.path.join(os.path.join(os.path.dirname(os.path.abspath(__file__)), 'logos'), 'tiny_sector')
|
logos_path = os.path.join(os.path.join(os.path.dirname(os.path.abspath(__file__)), 'logos'), 'tiny_sectors')
|
||||||
logo = Image.open(os.path.join(logos_path, category + '.png'))
|
logo = Image.open(os.path.join(logos_path, category + '.png'))
|
||||||
except: # load the big logo and scale it
|
except: # load the big logo and scale it
|
||||||
logos_path = os.path.join(os.path.join(os.path.dirname(os.path.abspath(__file__)), 'logos'), 'sector')
|
logos_path = os.path.join(os.path.join(os.path.dirname(os.path.abspath(__file__)), 'logos'), 'sector')
|
||||||
|
Loading…
Reference in New Issue
Block a user