Skip to content

Commit

Permalink
Fixed typo in scripts/readtree.py
Browse files Browse the repository at this point in the history
Not sure how this went unnoticed, I guess this is the first bug that
needed in-depth inspection after the a last-minute argument cleanup
in the debug scripts.
  • Loading branch information
geky committed Nov 22, 2020
1 parent f215027 commit 0ea2871
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/readtree.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def main(args):
struct.unpack('<HH', superblock[1].data[0:4].ljust(4, b'\xff'))))
print("%-47s%s" % ("littlefs v%s.%s" % version,
"data (truncated, if it fits)"
if not any([args.no_truncate, args.tags, args.log, args.all]) else ""))
if not any([args.no_truncate, args.log, args.all]) else ""))

# print gstate
print("gstate 0x%s" % ''.join('%02x' % c for c in gstate))
Expand Down

0 comments on commit 0ea2871

Please sign in to comment.