From 3bc0261ab1897279c1dfa7bd5e771a23f582da60 Mon Sep 17 00:00:00 2001 From: KG Date: Sun, 17 Nov 2024 14:35:20 -0500 Subject: [PATCH] Simplify call --- tivars/types/gdb.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tivars/types/gdb.py b/tivars/types/gdb.py index 060497e..05aee6f 100644 --- a/tivars/types/gdb.py +++ b/tivars/types/gdb.py @@ -583,10 +583,10 @@ def get_equations(self, data: bytes = None) -> tuple[TIGraphedEquation, ...]: return equations def get_min_os(self, data: bytes = None) -> OsVersion: - return max([TIGraphedEquation.get_min_os(eq) for eq in self.get_equations(data)], default=OsVersions.INITIAL) + return max([eq.get_min_os() for eq in self.get_equations(data)], default=OsVersions.INITIAL) def get_version(self, data: bytes = None) -> int: - return max([TIGraphedEquation.get_version(eq) for eq in self.get_equations(data)], default=0x00) + return max([eq.get_version() for eq in self.get_equations(data)], default=0x00) @Loader[dict] def load_dict(self, dct: dict):