We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84075c2 commit e8ed2b2Copy full SHA for e8ed2b2
forecast.py
@@ -38,7 +38,7 @@ def forecast(idx):
38
printer.print(deg)
39
printer.print(' high ' + str(hi))
40
41
- printer.println(' ' + cond.replace(u'\u2013', '-').encode('utf-8')) # take care of pesky unicode dash "–" or \u2013
+ printer.println(' ' + cond.replace(u'\u2013', '-').encode('utf-8')) # take care of pesky unicode dash
42
43
printer = Adafruit_Thermal("/dev/serial0", 19200, timeout=5)
44
deg = chr(0xf8) # Degree symbol on thermal printer
0 commit comments