From 92a9b381b9c2ccce0126dd0f7a6d11459f80a349 Mon Sep 17 00:00:00 2001 From: Naglis Jonaitis Date: Tue, 19 Nov 2024 16:02:00 +0200 Subject: [PATCH] Adapt to enum use --- aeneas/validator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aeneas/validator.py b/aeneas/validator.py index 44587de..a66e948 100644 --- a/aeneas/validator.py +++ b/aeneas/validator.py @@ -67,7 +67,7 @@ class Validator(Loggable): # COMMENTED ), # (gc.PPN_JOB_IS_HIERARCHY_TYPE, HierarchyType.ALLOWED_VALUES), - (gc.PPN_JOB_OS_CONTAINER_FORMAT, ContainerFormat.ALLOWED_VALUES), + (gc.PPN_JOB_OS_CONTAINER_FORMAT, [v.value for v in ContainerFormat]), (gc.PPN_JOB_OS_HIERARCHY_TYPE, HierarchyType.ALLOWED_VALUES), (gc.PPN_TASK_IS_TEXT_FILE_FORMAT, TextFileFormat.ALLOWED_VALUES), (gc.PPN_TASK_OS_FILE_FORMAT, SyncMapFormat.ALLOWED_VALUES),