Compatibility with different python-zeroconf versions

This commit is contained in:
Michael Kuron
2024-03-10 14:23:07 +01:00
parent 9cd06d86cf
commit 159b193cb7
+2 -1
View File
@@ -1,6 +1,7 @@
#!/usr/bin/env python3
from zeroconf import Zeroconf, ServiceBrowser, ServiceStateChange, ServiceInfo, DNSQuestion, DNSOutgoing, RecordUpdateListener, _TYPE_A, _CLASS_IN, _FLAGS_QR_QUERY
from zeroconf import Zeroconf, ServiceBrowser, ServiceStateChange, ServiceInfo, DNSQuestion, DNSOutgoing, RecordUpdateListener
from zeroconf.const import _TYPE_A, _CLASS_IN, _FLAGS_QR_QUERY
import sys
import time
from twisted.internet import reactor, defer, threads