Beremiz_service.py
changeset 3440 3770ded5db5c
parent 3420 da8cceaa247d
child 3443 a47d9debb0d9
--- a/Beremiz_service.py	Tue Feb 15 11:09:39 2022 +0100
+++ b/Beremiz_service.py	Wed Mar 02 11:22:55 2022 +0100
@@ -543,14 +543,12 @@
         try:
             website = NS.RegisterWebsite(interface, webport)
             pyruntimevars["website"] = website
-            NS.SetServer(pyroserver)
             statuschange.append(NS.website_statuslistener_factory(website))
         except Exception:
             LogMessageAndException(_("Nevow Web service failed. "))
 
     if havewamp:
         try:
-            WC.SetServer(pyroserver)
             WC.RegisterWampClient(wampconf, PSKpath)
             WC.RegisterWebSettings(NS)
         except Exception: