minor fix
This commit is contained in:
parent
71e0f36974
commit
335c0adbec
|
@ -762,6 +762,7 @@ class Receipt(object):
|
|||
if order['interface'] == 'usb':
|
||||
if os.name == 'posix':
|
||||
self._printer = printer.File(host)
|
||||
self._printer.close()
|
||||
self._printer.open()
|
||||
elif os.name == 'nt':
|
||||
self._printer = printer.Win32Raw(host)
|
||||
|
|
Loading…
Reference in New Issue