Skip to content

Commit

Permalink
[parser] skip errors in sigmf-annotate
Browse files Browse the repository at this point in the history
  • Loading branch information
Sec42 committed Jun 16, 2024
1 parent a7ffad3 commit 84d8c5b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions iridium-parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,8 @@ def perline(q):
elif args.output == "zmq":
socket.send_string(q.pretty())
elif args.output == "sigmf":
if q.parse_error:
return
try:
sr=sigmfjson['global']["core:sample_rate"]
center=sigmfjson['captures'][0]["core:frequency"]
Expand Down

0 comments on commit 84d8c5b

Please sign in to comment.