Skip to content

Commit

Permalink
Merge pull request #28 from oresat/bug/27
Browse files Browse the repository at this point in the history
Fix unbound error from bug #27
  • Loading branch information
ThirteenFish authored May 22, 2024
2 parents f715e2e + 7ef6bf5 commit 276516d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/edl_cmd_shell.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ def _send_packet(self, code: EdlCommandCode, args: Union[tuple, None] = None) ->
print(e)
return tuple()

ret = None
if res_packet and res_packet.payload.values:
ret = res_packet.payload.values
print(f"Response {code.name}: {ret}")
Expand Down

0 comments on commit 276516d

Please sign in to comment.