From a207cd600781ae5773c12f4c76c76c67365a093d Mon Sep 17 00:00:00 2001 From: KG Date: Sat, 4 Jan 2025 22:27:17 -0500 Subject: [PATCH] Warning nits --- tivars/flash.py | 2 +- tivars/var.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tivars/flash.py b/tivars/flash.py index 15266ca..d0cd083 100644 --- a/tivars/flash.py +++ b/tivars/flash.py @@ -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: diff --git a/tivars/var.py b/tivars/var.py index bd3dd36..17b95e5 100644 --- a/tivars/var.py +++ b/tivars/var.py @@ -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: