Fix: ip_address

This commit is contained in:
sinergia 2024-10-20 13:55:48 -05:00
parent 6d97f92fcd
commit 9cc0828696

View File

@ -268,7 +268,7 @@ class Sale(metaclass=PoolMeta):
if printer.type_ == 'network': if printer.type_ == 'network':
content["printer_type"] = "Network" content["printer_type"] = "Network"
content["ip_printer"] = str(printer.ip_address), content["ip_printer"] = str(printer.ip_address)
else: else:
if printer.type_ == 'usb': if printer.type_ == 'usb':
content["printer_type"] = "USB" content["printer_type"] = "USB"
@ -360,7 +360,7 @@ class Sale(metaclass=PoolMeta):
if printer.type_ == 'network': if printer.type_ == 'network':
content["printer_type"] = "Network" content["printer_type"] = "Network"
content["ip_printer"] = str(printer.ip_address), content["ip_printer"] = str(printer.ip_address)
else: else:
if printer.type_ == 'usb': if printer.type_ == 'usb':
content["printer_type"] = "USB" content["printer_type"] = "USB"