From 9d3ee8638bbdaf442abc233f9752be36678c62cf Mon Sep 17 00:00:00 2001 From: Lila Date: Sun, 22 Sep 2024 17:51:54 +0100 Subject: [PATCH] leave me be pylint --- fast64_internal/sm64/sm64_classes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fast64_internal/sm64/sm64_classes.py b/fast64_internal/sm64/sm64_classes.py index 725a174ee..487967d95 100644 --- a/fast64_internal/sm64/sm64_classes.py +++ b/fast64_internal/sm64/sm64_classes.py @@ -158,7 +158,7 @@ def __enter__(self): self.rom_file_output = self.temp_rom.open("rb+") return self - def write_to_range(self, start_address: int, end_address: int, data: bytes): + def write_to_range(self, start_address: int, end_address: int, data: bytes | bytearray): address_range_str = f"[{intToHex(start_address)}, {intToHex(end_address)}]" if end_address < start_address: raise PluginError(f"Start address is higher than the end address: {address_range_str}")