[openrtm-commit:02837] r870 - trunk/OpenRTM-aist-Python/OpenRTM_aist
openrtm @ openrtm.org
openrtm @ openrtm.org
2017年 9月 21日 (木) 04:06:33 JST
Author: miyamoto
Date: 2017-09-21 04:06:33 +0900 (Thu, 21 Sep 2017)
New Revision: 870
Modified:
trunk/OpenRTM-aist-Python/OpenRTM_aist/Manager.py
Log:
[compat,->RELENG_1_2] bug fix.
Modified: trunk/OpenRTM-aist-Python/OpenRTM_aist/Manager.py
===================================================================
--- trunk/OpenRTM-aist-Python/OpenRTM_aist/Manager.py 2017-09-11 01:18:47 UTC (rev 869)
+++ trunk/OpenRTM-aist-Python/OpenRTM_aist/Manager.py 2017-09-20 19:06:33 UTC (rev 870)
@@ -563,6 +563,8 @@
def load(self, fname, initfunc):
self._rtcout.RTC_TRACE("Manager.load(fname = %s, initfunc = %s)",
(fname, initfunc))
+ fname = fname.replace("/", os.sep)
+ fname = fname.replace("\\", os.sep)
self._listeners.module_.preLoad(fname, initfunc)
try:
fname_ = fname.split(os.sep)
More information about the openrtm-commit
mailing list