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