Update stockTicker.py
This commit is contained in:
parent
84aba5eb4a
commit
c4109f631f
@ -807,6 +807,8 @@ class StockTicker():
|
||||
r,g,b = colours[message['text_colour']]
|
||||
|
||||
background = colours[message['background_colour']]
|
||||
decoded = message['text'].encode("ascii","ignore")
|
||||
message['text'] = decoded.decode()
|
||||
msg_img = self.textImage(message['text'], font, int(r), int(g), int(b), True, w_buff = 11, background = background, location = location)
|
||||
|
||||
img = Image.new('RGB', (msg_img.size[0] + 130, 32))
|
||||
|
Loading…
Reference in New Issue
Block a user