Skip to content

Commit 1af31b4

Browse files
author
Joel Collins
committed
Fixed broken zeroconf registration
1 parent 9ec4086 commit 1af31b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/labthings/wsgi.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,10 @@ def stop(self):
9494
def start(self):
9595
"""Start the server and register mDNS records"""
9696
# Unmodified version of app
97-
app_to_run = self.app_register_zeroconf
97+
app_to_run = self.app
9898
# Handle zeroconf
9999
if self.zeroconf:
100-
self.register_zeroconf()
100+
self._register_zeroconf()
101101

102102
# Handle debug mode
103103
if self.debug:

0 commit comments

Comments
 (0)