[openrtm-commit:03136] r931 - trunk/OpenRTM-aist-Python/OpenRTM_aist

openrtm @ openrtm.org openrtm @ openrtm.org
2018年 1月 24日 (水) 15:38:52 JST


Author: miyamoto
Date: 2018-01-24 15:38:51 +0900 (Wed, 24 Jan 2018)
New Revision: 931

Modified:
   trunk/OpenRTM-aist-Python/OpenRTM_aist/ConfigAdmin.py
Log:
[compat, bugfix, ->RELENG_1_2] fixed bug

Modified: trunk/OpenRTM-aist-Python/OpenRTM_aist/ConfigAdmin.py
===================================================================
--- trunk/OpenRTM-aist-Python/OpenRTM_aist/ConfigAdmin.py	2018-01-24 06:31:39 UTC (rev 930)
+++ trunk/OpenRTM-aist-Python/OpenRTM_aist/ConfigAdmin.py	2018-01-24 06:38:51 UTC (rev 931)
@@ -1142,7 +1142,7 @@
   # @endif
   # bool activateConfigurationSet(const char* config_id);
   def activateConfigurationSet(self, config_id):
-    if config_id == "":
+    if config_id == "" or config_id is None:
       return False
 
     # '_<conf_name>' is special configuration set name



More information about the openrtm-commit mailing list