Fix upper method forgot brackets bug

This commit is contained in:
Qian Linfeng 2016-04-28 09:28:16 +08:00
parent 331fe6a93a
commit 4dea342680
1 changed files with 1 additions and 1 deletions

View File

@ -269,7 +269,7 @@ class Escpos:
elif type.upper() == "BU2": elif type.upper() == "BU2":
self._raw(TXT_BOLD_ON) self._raw(TXT_BOLD_ON)
self._raw(TXT_UNDERL2_ON) self._raw(TXT_UNDERL2_ON)
elif type.upper == "NORMAL": elif type.upper() == "NORMAL":
self._raw(TXT_BOLD_OFF) self._raw(TXT_BOLD_OFF)
self._raw(TXT_UNDERL_OFF) self._raw(TXT_UNDERL_OFF)
# Font # Font