Fix initializer mess

This commit is contained in:
Ramon Poca 2018-12-31 14:24:10 +01:00
parent 73fff6291d
commit 2886075ce9
1 changed files with 2 additions and 2 deletions

View File

@ -345,8 +345,8 @@ except ImportError:
if _WIN32PRINT:
class Win32Raw(Escpos):
def __init__(self, printer_name=None, profile=None, magic_encode_args=None, **kwargs):
super().__init__(profile=profile, magic_encode_args=magic_encode_args, **kwargs)
def __init__(self, printer_name=None, *args, **kwargs):
Escpos.__init__(self, *args, **kwargs)
if printer_name is not None:
self.printer_name = printer_name
else: