Fix upper method forgot brackets bug

This commit is contained in:
Qian Linfeng 2016-04-28 14:32:00 +08:00
parent a34e306ea8
commit 0a8057414c
1 changed files with 1 additions and 1 deletions

View File

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