1
0
mirror of https://github.com/python-escpos/python-escpos synced 2025-10-23 09:30:00 +00:00

Fix black linter checks - Remove u"" strings

This commit is contained in:
belono
2022-11-24 20:23:21 +01:00
parent 49ab3f35a8
commit 69e9dca761
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")