Skip to content

Commit

Permalink
Change default min OS
Browse files Browse the repository at this point in the history
  • Loading branch information
kg583 committed Sep 23, 2023
1 parent 9a3e1b8 commit e883da9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tivars/types/tokenized.py
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ def __format__(self, format_spec: str) -> str:

def get_min_os(self, data: bytes = None) -> OsVersion:
return max([model.OS() for token, model in self.asm_tokens.items() if token in (data or self.data)],
default=super().get_min_os(data))
default=OsVersions.INITIAL)

@Loader[str]
def load_string(self, string: str, *, model: TIModel = None, lang: str = None):
Expand Down

0 comments on commit e883da9

Please sign in to comment.