1
0
mirror of https://github.com/python-escpos/python-escpos synced 2025-08-24 09:03:34 +00:00

format with black

This commit is contained in:
Patrick Kanzler
2023-04-19 22:11:09 +02:00
parent cbf887ed02
commit 70d4da1364
5 changed files with 16 additions and 16 deletions

View File

@@ -68,7 +68,7 @@ def forecast(idx):
printer.text(deg)
printer.text("\n")
# take care of pesky unicode dash
printer.text(cond.replace(u"\u2013", "-").encode("utf-8"))
printer.text(cond.replace("\u2013", "-").encode("utf-8"))
printer.text("\n \n")