fixing Fx logos
This commit is contained in:
parent
b701706d87
commit
6ceb2e3645
@ -1096,8 +1096,8 @@ class StockTicker():
|
||||
try:
|
||||
logos_path = os.path.join(os.path.join(os.path.dirname(os.path.abspath(__file__)), 'logos'), 'currencies')
|
||||
|
||||
logo = Image.open(os.path.join(logos_path, symbol.lower() + '.png'))
|
||||
bse = Image.open(os.path.join(logos_path, base.lower() + '.png'))
|
||||
logo = Image.open(os.path.join(logos_path, symbol.upper() + '.png'))
|
||||
bse = Image.open(os.path.join(logos_path, base.upper() + '.png'))
|
||||
|
||||
new_im = Image.new('RGB', (32, 32))
|
||||
|
||||
@ -1176,8 +1176,8 @@ class StockTicker():
|
||||
try:
|
||||
logos_path = os.path.join(os.path.join(os.path.dirname(os.path.abspath(__file__)), 'logos'), 'currencies')
|
||||
|
||||
logo = Image.open(os.path.join(logos_path, symbol.lower() + '.png'))
|
||||
bse = Image.open(os.path.join(logos_path, base.lower() + '.png'))
|
||||
logo = Image.open(os.path.join(logos_path, symbol.upper() + '.png'))
|
||||
bse = Image.open(os.path.join(logos_path, base.upper() + '.png'))
|
||||
|
||||
new_im = Image.new('RGB', (32, 32))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user