diff --git a/CHANGELOG b/CHANGELOG index 4571229..d137f7e 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -21,3 +21,4 @@ CHANGELOG - Issue #20: Added Density support (Sent by thomas.erbacher@ragapack.de) - Added charcode tables - Fixed Horizontal Tab +- Fixed code tabulators diff --git a/escpos/printer.py b/escpos/printer.py index 2bdafca..a34edb4 100644 --- a/escpos/printer.py +++ b/escpos/printer.py @@ -31,7 +31,7 @@ class Usb(Escpos): self.interface = interface self.in_ep = in_ep self.out_ep = out_ep - self.open() + self.open() def open(self): @@ -151,7 +151,7 @@ class File(Escpos): def open(self): """ Open system file """ - self.device = open(self.devfile, "wb") + self.device = open(self.devfile, "wb") if self.device is None: print "Could not open the specified file %s" % self.devfile