diff --git a/src/calibre/devices/smart_device_app/driver.py b/src/calibre/devices/smart_device_app/driver.py index 87608f305b..b41c3a0063 100644 --- a/src/calibre/devices/smart_device_app/driver.py +++ b/src/calibre/devices/smart_device_app/driver.py @@ -2175,6 +2175,8 @@ def monkeypatch_zeroconf(): # "monkeypatch" zeroconf with a function without the check try: from zeroconf._utils.name import service_type_name + # zeroconf 0.73 uses an lru cache so we need __wrapped__ + service_type_name = getattr(service_type_name, '__wrapped__', service_type_name) service_type_name.__kwdefaults__['strict'] = False except ImportError: import zeroconf