From 11c2426ba4d32aad879f6fdf596583b2b536d7f0 Mon Sep 17 00:00:00 2001 From: Firepup Sixfifty Date: Tue, 14 Nov 2023 16:22:46 -0600 Subject: [PATCH] idiot. --- overrides.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/overrides.py b/overrides.py index 9b51dd5..6b98bf0 100644 --- a/overrides.py +++ b/overrides.py @@ -46,6 +46,6 @@ class bytes(bbytes): def safe_decode(cls) -> str: 'Calls cls.decode(cls, errors = "ignore"), if that errors, returns a blank bytes object' try: - return cls.decode(cls, errors = "ignore") # type: ignore + return cls.decode(cls.value, errors = "ignore") # type: ignore except TypeError: return "nul"