diff --git a/stockTicker.py b/stockTicker.py index a954915..d30bfc3 100755 --- a/stockTicker.py +++ b/stockTicker.py @@ -6963,8 +6963,8 @@ class StockTicker(): midFrame = self.textToImage(ticker, current, arrow, percent_change, point_change) #IMAGE THE TEXT if sector_settings['logos']: try: - logos_path = os.path.join(os.path.join(os.path.dirname(os.path.abspath(__file__)), 'logos'), 'stocks') - logo = self.openImage(os.path.join(logos_path, ticker + '.png')) + logos_path = os.path.join(os.path.join(os.path.dirname(os.path.abspath(__file__)), 'logos'), 'sector') + logo = self.openImage(os.path.join(logos_path, category + '.png')) stitchedStock = self.stitchImage([logo,midFrame]) except Exception as e: stitchedStock = midFrame