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