sdlog2_dump.py: minor fix allowing handling FMT messages in the middle of stream

This commit is contained in:
Anton Babushkin 2014-07-31 12:45:44 +02:00
parent 7f4a93d80d
commit 92a4757971
1 changed files with 2 additions and 1 deletions

View File

@ -149,7 +149,8 @@ class SDLog2Parser:
break
if first_data_msg:
# build CSV columns and init data map
self.__initCSV()
if not self.__debug_out:
self.__initCSV()
first_data_msg = False
self.__parseMsg(msg_descr)
bytes_read += self.__ptr