diff -r 46447d99e5f9 -r cf1718962567 Beremiz_service.py --- a/Beremiz_service.py Wed Jul 04 14:17:00 2018 +0200 +++ b/Beremiz_service.py Thu Jul 05 11:11:01 2018 +0200 @@ -623,15 +623,8 @@ if wampconf is not None: try: - WC.SetServer(pyroserver, wampconf, wampsecret) - _wampconf = WC.GetConfiguration() - if _wampconf: - if _wampconf.get("url", False) and _wampconf.get("active", False): # TODO : test more ? - WC.RegisterWampClient() - else: - raise Exception(_("WAMP config is incomplete or active is false.")) - else: - raise Exception(_("WAMP config is missing.")) + WC.SetServer(pyroserver) + WC.RegisterWampClient(wampconf, wampsecret) except Exception: LogMessageAndException(_("WAMP client startup failed. "))