From 2b5bd57160954105741a064f6ce373ddef0a3ec0 Mon Sep 17 00:00:00 2001 From: Capocchi L Date: Wed, 25 Nov 2020 21:06:24 +0100 Subject: [PATCH] bug fix for pypdevs 241 --- devsimpy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devsimpy.py b/devsimpy.py index 0713fcda..3daaea99 100644 --- a/devsimpy.py +++ b/devsimpy.py @@ -172,7 +172,7 @@ ### Check if the pypdevs241 directory is empty (not --recursive option when the devsimpy git has been cloned) path = os.path.join(ABS_HOME_PATH,'DEVSKernel','PyPDEVS','pypdevs241') if os.path.exists(path) and not len(os.listdir(path)) == 0: - builtin_dict['PYPDEVS_221_SIM_STRATEGY_DICT'] = {'classic':'SimStrategy4', 'parallel':'SimStrategy5'} + builtin_dict['PYPDEVS_241_SIM_STRATEGY_DICT'] = {'classic':'SimStrategy4', 'parallel':'SimStrategy5'} builtin_dict['DEVS_DIR_PATH_DICT'].update({'PyPDEVS_241':os.path.join(path ,'src','pypdevs')}) else: sys.stdout.write("PyPDEVS Kernel in version 2.4.1 is not loaded.\nPlease install it in the directory %s using git (http://msdl.uantwerpen.be/git/yentl/PythonPDEVS.git)\n"%path)