news character bug fixed
This commit is contained in:
parent
cb34162bab
commit
21e421f4a3
@ -256,6 +256,12 @@ class StockTicker():
|
||||
f.close()
|
||||
|
||||
for headline in headlines:
|
||||
|
||||
headline = headline.replace("’", "'")
|
||||
headline = headline.replace("‘", "'")
|
||||
headline = headline.replace('“', '"')
|
||||
headline = headline.replace('”', '"')
|
||||
|
||||
img = self.textImage(headline, font)
|
||||
|
||||
#killed = self.scrollImage(img, offset_x = 128, offset_y = 0)
|
||||
|
Loading…
Reference in New Issue
Block a user