File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/labthings/server/wsgi Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ def __init__(
3737 self .wsgi_server = None
3838 self .zeroconf_server = None
3939 self .service_info = None
40- self .service_infos = set ()
40+ self .service_infos = []
4141
4242 # Events
4343 self .started_event = gevent .event .Event ()
@@ -51,7 +51,7 @@ def register_zeroconf(self):
5151 if i not in ("127.0.0.1" , "0.0.0.0" )
5252 }
5353 # LabThing service
54- self .service_infos .add (
54+ self .service_infos .append (
5555 ServiceInfo (
5656 "_labthing._tcp.local." ,
5757 f"{ self .labthing .safe_title } ._labthing._tcp.local." ,
@@ -66,7 +66,7 @@ def register_zeroconf(self):
6666 )
6767 )
6868 # Mozilla WebThing service
69- self .service_infos .add (
69+ self .service_infos .append (
7070 ServiceInfo (
7171 "_webthing._tcp.local." ,
7272 f"{ self .labthing .safe_title } ._webthing._tcp.local." ,
You can’t perform that action at this time.
0 commit comments