removed brackets for economic event titles
This commit is contained in:
parent
5237144856
commit
45f3b7cb3b
@ -5846,7 +5846,7 @@ class StockTicker():
|
||||
period_img = None
|
||||
flag_img = Image.open('logos/economic_logos/' + event['country'] + '.png')
|
||||
circle_img = Image.open('logos/indicator.png')
|
||||
title_img = self.textImage(event['title'].upper(), font, r = 255, g = 255, b = 255)
|
||||
title_img = self.textImage((event['title'].upper()).replace("(", '').replace(")", ''), font, r = 255, g = 255, b = 255)
|
||||
country_img = self.textImage(event['country'].upper(), font2, r= 255, g = 255, b = 0)
|
||||
date_img = self.textImage(event['time'], small_font, r=0, g=150, b=255)
|
||||
indicator_img = self.textImage(event['indicator'], font2, r=255, g=255, b=255)
|
||||
|
Loading…
Reference in New Issue
Block a user