Skip to content

Commit

Permalink
continue parsing BIN for old devices
Browse files Browse the repository at this point in the history
  • Loading branch information
salman2135 committed May 29, 2024
1 parent be6aba5 commit 8d8c81b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/explorepy/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,11 @@ def _stream_loop(self):
logger.warning('Incomplete packet received, parsing will continue.')
self.seek_new_pid.set()
else:
self.stop_streaming()
if self.mode == 'file':
logger.debug('Got Fletcher error in parsing BIN file, will continue')
self.seek_new_pid.set()
else:
self.stop_streaming()
except EOFError:
logger.info('End of file')
self.stop_streaming()
Expand Down

0 comments on commit 8d8c81b

Please sign in to comment.