Remove timeout = 0 for get_service_info

CURA-4252
This commit is contained in:
Lipu Fei 2017-10-16 10:36:14 +02:00
parent 7f944ff08b
commit b55efdd70e

View File

@ -282,7 +282,7 @@ class NetworkPrinterOutputDevicePlugin(QObject, OutputDevicePlugin):
# Request more data if info is not complete # Request more data if info is not complete
if not info.address: if not info.address:
Logger.log("d", "Trying to get address of %s", name) Logger.log("d", "Trying to get address of %s", name)
info = zeroconf.get_service_info(service_type, name, 0) info = zeroconf.get_service_info(service_type, name)
if info: if info:
type_of_device = info.properties.get(b"type", None) type_of_device = info.properties.get(b"type", None)