Skip to content

Commit

Permalink
Fix compatibility with older Python
Browse files Browse the repository at this point in the history
  • Loading branch information
slonopotamus committed May 23, 2024
1 parent 9cebfa8 commit 36b00cd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ue4docker/infrastructure/BuildConfiguration.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import json
import platform
import random
from typing import Optional

import humanfriendly
from packaging.version import Version, InvalidVersion
Expand Down Expand Up @@ -50,7 +51,7 @@ def __init__(
name: str,
build_number: str,
supported_since: Version,
unsupported_since: Version | None,
unsupported_since: Optional[Version],
pass_version_to_buildgraph: bool,
):
self.name = name
Expand Down

0 comments on commit 36b00cd

Please sign in to comment.