fixed code tabulators

This commit is contained in:
Manuel F Martinez 2014-05-20 23:50:06 -07:00
parent 8a3850ea64
commit 708f7e97d1
2 changed files with 3 additions and 2 deletions

View File

@ -21,3 +21,4 @@ CHANGELOG
- Issue #20: Added Density support (Sent by thomas.erbacher@ragapack.de) - Issue #20: Added Density support (Sent by thomas.erbacher@ragapack.de)
- Added charcode tables - Added charcode tables
- Fixed Horizontal Tab - Fixed Horizontal Tab
- Fixed code tabulators

View File

@ -31,7 +31,7 @@ class Usb(Escpos):
self.interface = interface self.interface = interface
self.in_ep = in_ep self.in_ep = in_ep
self.out_ep = out_ep self.out_ep = out_ep
self.open() self.open()
def open(self): def open(self):
@ -151,7 +151,7 @@ class File(Escpos):
def open(self): def open(self):
""" Open system file """ """ Open system file """
self.device = open(self.devfile, "wb") self.device = open(self.devfile, "wb")
if self.device is None: if self.device is None:
print "Could not open the specified file %s" % self.devfile print "Could not open the specified file %s" % self.devfile