connectors/WAMP/__init__.py
changeset 2463 8742337a9fe3
parent 2459 21164625b393
child 2470 590f85412835
equal deleted inserted replaced
2462:ed6b0e905fcb 2463:8742337a9fe3
   154             return member
   154             return member
   155 
   155 
   156     # TODO : GetPLCID()
   156     # TODO : GetPLCID()
   157     # TODO : PSK.UpdateID()
   157     # TODO : PSK.UpdateID()
   158 
   158 
   159     # Try to get the proxy object
   159     return WampPLCObjectProxy
   160     try:
       
   161         return WampPLCObjectProxy()
       
   162     except Exception:
       
   163         confnodesroot.logger.write_error(_("WAMP connection to '%s' failed.\n") % location)
       
   164         confnodesroot.logger.write_error(traceback.format_exc())
       
   165         return None