IMPROVE use sendall instead of send in network-printer

This commit is contained in:
Davis Goglin 2014-03-14 09:05:47 -07:00 committed by Patrick Kanzler
parent 020ba4145c
commit 9159aafd18
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ class Network(Escpos):
:param msg: arbitrary code to be printed
"""
self.device.send(msg)
self.device.sendall(msg)
def __del__(self):
""" Close TCP connection """