Fix coredump attribute error in idf_monitor.py

Closes https://github.com/espressif/esp-idf/issues/8651
This commit is contained in:
Martin Gaňo 2022-04-04 12:31:23 +02:00
parent 82e9afeade
commit 74048f079b

View File

@ -223,7 +223,7 @@ class Monitor:
self.serial_handler.handle_serial_input(data, self.console_parser, self.coredump,
self.gdb_helper, self._line_matcher,
self.check_gdb_stub_and_run,
finalize_line=not self.coredump.in_progress)
finalize_line=not self.coredump or not self.coredump.in_progress)
else:
raise RuntimeError('Bad event data %r' % ((event_tag, data),))