Skip to content

Commit

Permalink
Warning nits
Browse files Browse the repository at this point in the history
  • Loading branch information
kg583 committed Jan 5, 2025
1 parent c020df3 commit a207cd6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tivars/flash.py
Original file line number Diff line number Diff line change
Expand Up @@ -804,7 +804,7 @@ def coerce(self):
self.coerce()

elif self.type_id != 0xFF:
warn(f"Type ID 0x{self.type_id:02x} is not recognized; header will not be coerced to a subclass.",
warn(f"Type ID 0x{self.type_id:02x} is not recognized; no coercion will occur.",
BytesWarning)

else:
Expand Down
2 changes: 1 addition & 1 deletion tivars/var.py
Original file line number Diff line number Diff line change
Expand Up @@ -964,7 +964,7 @@ def coerce(self):
self.coerce()

elif self.type_id != 0xFF:
warn(f"Type ID 0x{self.type_id:02x} is not recognized; entry will not be coerced to a subclass.",
warn(f"Type ID 0x{self.type_id:02x} is not recognized; no coercion will occur.",
BytesWarning)

else:
Expand Down

0 comments on commit a207cd6

Please sign in to comment.