Skip to content

Commit

Permalink
Print raw flux summary even if no format conversion was applied
Browse files Browse the repository at this point in the history
  • Loading branch information
MoombaDS authored and keirf committed Oct 13, 2024
1 parent 7e1ae39 commit c64333b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/greaseweazle/tools/read.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ def read_with_retry(usb: USB.Unit, args, t) -> Tuple[Flux, Optional[HasFlux]]:
dat = args.fmt_cls.decode_flux(cyl, head, flux)
if dat is None:
print("%s: WARNING: Out of range for format '%s': No format "
"conversion applied" % (tspec, args.format))
"conversion applied: %s" % (tspec, args.format,
flux.summary_string()))
return flux, None
for pll in plls[1:]:
if dat.nr_missing() == 0:
Expand Down

0 comments on commit c64333b

Please sign in to comment.