Skip to content

Commit

Permalink
Fix Py3.8 compatibility error
Browse files Browse the repository at this point in the history
  • Loading branch information
cmutel committed Nov 25, 2024
1 parent c7d6d22 commit 5c545f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ecoinvent_interface/process_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class ProcessFileType(Enum):
ZIPPED_FILE_TYPES = (ProcessFileType.lci, ProcessFileType.lcia, ProcessFileType.upr)


def as_tuple(version_string: str) -> tuple[int, int]:
def as_tuple(version_string: str) -> Tuple[int, int]:
return tuple([int(x) for x in version_string.split(".")])


Expand Down

0 comments on commit 5c545f0

Please sign in to comment.