Update stockTicker.py
news bug fix
This commit is contained in:
parent
de4dbe2346
commit
5b5fafae1f
@ -1384,6 +1384,8 @@ class StockTicker():
|
||||
if all_settings['title']:
|
||||
title_img = self.openImage('feature_titles/news.png')
|
||||
image_list = [title_img]
|
||||
else:
|
||||
image_list = []
|
||||
|
||||
headline_font = ImageFont.load("./fonts/6x13.pil")
|
||||
source_font = ImageFont.load("./fonts/6x13.pil")
|
||||
@ -1461,6 +1463,8 @@ class StockTicker():
|
||||
if all_settings['title']:
|
||||
title_img = self.openImage('feature_titles/small_feature_titles/news.png')
|
||||
image_list = [title_img]
|
||||
else:
|
||||
image_list = []
|
||||
|
||||
headline_font = ImageFont.load("./fonts/6x13.pil")
|
||||
source_font = ImageFont.load("./fonts/6x13.pil")
|
||||
|
Loading…
Reference in New Issue
Block a user