Skip to content

Commit

Permalink
leave me be pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
Lilaa3 committed Sep 22, 2024
1 parent 237d9db commit 9d3ee86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fast64_internal/sm64/sm64_classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}")
Expand Down

0 comments on commit 9d3ee86

Please sign in to comment.