aboutsummaryrefslogtreecommitdiff
path: root/src/hydrilla
diff options
context:
space:
mode:
Diffstat (limited to 'src/hydrilla')
-rw-r--r--src/hydrilla/item_infos.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hydrilla/item_infos.py b/src/hydrilla/item_infos.py
index 21b7136..9638dab 100644
--- a/src/hydrilla/item_infos.py
+++ b/src/hydrilla/item_infos.py
@@ -138,10 +138,10 @@ def make_cors_bypass_permission(perms_obj: t.Any, schema_compat: int) -> bool:
def make_version_constraint(
ver: t.Any,
schema_compat: int,
- default: t.Sequence[int]
+ default: versions.VerTuple
) -> versions.VerTuple:
if schema_compat < 2 or ver is None:
- return versions.normalize(default)
+ return default
return versions.normalize(ver)