From 355205554a7b95ae81fe7fc04fa65c3a850b3c47 Mon Sep 17 00:00:00 2001 From: Khoi Tran Date: Mon, 19 Jun 2017 17:45:09 -0600 Subject: [PATCH] Use format to properly format file for process_logdata_parser.py --- Tools/ecl_ekf/batch_process_logdata_ekf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools/ecl_ekf/batch_process_logdata_ekf.py b/Tools/ecl_ekf/batch_process_logdata_ekf.py index 01859cfbb0..3b5527973c 100755 --- a/Tools/ecl_ekf/batch_process_logdata_ekf.py +++ b/Tools/ecl_ekf/batch_process_logdata_ekf.py @@ -24,4 +24,4 @@ print("\n"+"analysing all .ulog files in "+ulog_directory) for file in os.listdir(ulog_directory): if file.endswith(".ulg"): print("\n"+"loading "+file+" for analysis") - os.system("python process_logdata_ekf.py "+ulog_directory+"/"+file) + os.system("python process_logdata_ekf.py '{}'".format(os.path.join(ulog_directory, file)))