From 2886075ce9feabfc76ffa7238e6fcb294cc327ca Mon Sep 17 00:00:00 2001 From: Ramon Poca Date: Mon, 31 Dec 2018 14:24:10 +0100 Subject: [PATCH] Fix initializer mess --- src/escpos/printer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/escpos/printer.py b/src/escpos/printer.py index ecb708f..f1c6145 100644 --- a/src/escpos/printer.py +++ b/src/escpos/printer.py @@ -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: