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:
@@ -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")
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user