branch | #2486 |
changeset 2204 | 25dafeb98b55 |
parent 2202 | 237c1a2de1c8 |
child 2205 | 4c74218b42e1 |
--- a/Beremiz_service.py Wed May 09 09:59:53 2018 +0200 +++ b/Beremiz_service.py Mon May 14 08:45:44 2018 +0200 @@ -618,9 +618,9 @@ if wampconf is not None: try: - _wampconf = WC.LoadWampClientConf(wampconf) + WC.SetServer(pyroserver, wampconf, wampsecret) + _wampconf = WC.LoadWampClientConf() if _wampconf: - WC.SetServer(pyroserver, wampconf, wampsecret) if _wampconf.get("url", False) and _wampconf.get("active", False): # TODO : test more ? WC.RegisterWampClient() else: