runtime/WampClient.py
changeset 1900 9d1547578f55
parent 1899 ff4410112b67
child 1901 e8cf68d69447
--- a/runtime/WampClient.py	Thu Jan 11 13:02:09 2018 +0100
+++ b/runtime/WampClient.py	Thu Jan 11 15:39:58 2018 +0100
@@ -152,6 +152,9 @@
 
     WampSecret = LoadWampSecret(secretfname)
 
+    if WampSecret is not None:
+        WSClientConf["secret"] = WampSecret
+
     # create a WAMP application session factory
     component_config = types.ComponentConfig(
         realm=WSClientConf["realm"],