From 1d38bf04476e5ba29abf423fec5c218ff0d5da4d Mon Sep 17 00:00:00 2001 From: ivy <119665497+lvlvllvlvllvlvl@users.noreply.github.com> Date: Fri, 15 Dec 2023 15:05:41 +0700 Subject: [PATCH] fix error --- PyPoE/poe/file/translations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PyPoE/poe/file/translations.py b/PyPoE/poe/file/translations.py index 4d823e64..3f8b0866 100644 --- a/PyPoE/poe/file/translations.py +++ b/PyPoE/poe/file/translations.py @@ -1282,7 +1282,7 @@ def __init__( self.convert_type = convert_type super().__init__(id=id, handler=self.handle, reverse_handler=self.reverse) - def range_format(self, v: tuple): + def range_format(self, v: tuple, _): return v[0] if v[0] == v[1] else self.placeholder def handle(self, v):