@ -91,7 +91,7 @@ class LogPrinter(logging.Handler):
sm_print_lockfile = open("small_printer_lock", "w")
fcntl.lockf(sm_print_lockfile, fcntl.LOCK_EX)
if "ipaddr" in self.printer:
prn = printer.Network(self.smprint["ipaddr"])
prn = printer.Network(self.printer["ipaddr"])
elif (self.printer["inep"] is None) and (self.printer["outep"] is None):
prn = printer.Usb(self.printer["vendorid"], self.printer["productid"])
else: