Skip to content

Commit

Permalink
Update cw/waverunner.py
Browse files Browse the repository at this point in the history
Co-authored-by: Vladimir Rozic <[email protected]>
  • Loading branch information
johannheyszl and vrozic authored Sep 25, 2023
1 parent 39c20ea commit d8518c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cw/waverunner.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def _get_and_print_cmd_error(self):
"EOI detected during definite length data block transfer.",
"Extra bytes detected during definite length data block transfer"]
return_code = int((re.findall(r'\d+', self._ask("CMR?")))[0])
if return_code > 11:
if return_code > 13 or return_code in [8, 9]:
return_msg = f"{return_code} Unkown error code"
else:
return_msg = f"{return_code} {error_msg[return_code]}"
Expand Down

0 comments on commit d8518c9

Please sign in to comment.