equal
deleted
inserted
replaced
224 |
224 |
225 lastKnownConfig = WampClientConf.copy() |
225 lastKnownConfig = WampClientConf.copy() |
226 |
226 |
227 with open(os.path.realpath(_WampConf), 'w') as f: |
227 with open(os.path.realpath(_WampConf), 'w') as f: |
228 json.dump(WampClientConf, f, sort_keys=True, indent=4) |
228 json.dump(WampClientConf, f, sort_keys=True, indent=4) |
|
229 StopReconnectWampClient() |
229 if 'active' in WampClientConf and WampClientConf['active']: |
230 if 'active' in WampClientConf and WampClientConf['active']: |
230 if _transportFactory and _WampSession: |
|
231 StopReconnectWampClient() |
|
232 StartReconnectWampClient() |
231 StartReconnectWampClient() |
233 else: |
|
234 StopReconnectWampClient() |
|
235 |
232 |
236 return WampClientConf |
233 return WampClientConf |
237 |
234 |
238 |
235 |
239 def LoadWampSecret(secretfname): |
236 def LoadWampSecret(secretfname): |