Fix: ip_address
This commit is contained in:
parent
6d97f92fcd
commit
9cc0828696
4
sale.py
4
sale.py
@ -268,7 +268,7 @@ class Sale(metaclass=PoolMeta):
|
||||
|
||||
if printer.type_ == 'network':
|
||||
content["printer_type"] = "Network"
|
||||
content["ip_printer"] = str(printer.ip_address),
|
||||
content["ip_printer"] = str(printer.ip_address)
|
||||
else:
|
||||
if printer.type_ == 'usb':
|
||||
content["printer_type"] = "USB"
|
||||
@ -360,7 +360,7 @@ class Sale(metaclass=PoolMeta):
|
||||
|
||||
if printer.type_ == 'network':
|
||||
content["printer_type"] = "Network"
|
||||
content["ip_printer"] = str(printer.ip_address),
|
||||
content["ip_printer"] = str(printer.ip_address)
|
||||
else:
|
||||
if printer.type_ == 'usb':
|
||||
content["printer_type"] = "USB"
|
||||
|
Loading…
Reference in New Issue
Block a user