Use format to properly format file for process_logdata_parser.py

This commit is contained in:
Khoi Tran 2017-06-19 17:45:09 -06:00 committed by Beat Küng
parent 8b3fb1e999
commit 355205554a
1 changed files with 1 additions and 1 deletions

View File

@ -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)))