diff --git a/stockTicker.py b/stockTicker.py index da2f9f8..5fc244e 100644 --- a/stockTicker.py +++ b/stockTicker.py @@ -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)