feature title included for market image

This commit is contained in:
Justin 2023-08-10 01:15:26 +08:00 committed by GitHub
parent 4c6c418e28
commit 2bae48beed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6466,12 +6466,12 @@ class StockTicker():
f = open('csv/market_settings.json', 'r')
market_settings = json.load(f)
f.close()
#if market_settings['title']:
# title_img = self.openImage('feature_titles/market.png')
# image_list = [title_img]
# image_list.append(self.blank)
#else:
image_list = []
if market_settings['title']:
title_img = self.openImage('feature_titles/market.png')
image_list = [title_img]
image_list.append(self.blank)
else:
image_list = []
active_info = market_settings['mostactive']
active_symbols = list(active_info.keys())