From 3d7406440e59cb7267d234fc78296c478b645cd2 Mon Sep 17 00:00:00 2001 From: Edo Storm Date: Wed, 18 Sep 2024 11:23:48 +0200 Subject: [PATCH] fix: ensure get_cheker_errors outputs iterable --- proposals/utils/checkers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/proposals/utils/checkers.py b/proposals/utils/checkers.py index 48e0777f3..ecc15ae8e 100644 --- a/proposals/utils/checkers.py +++ b/proposals/utils/checkers.py @@ -767,8 +767,8 @@ def get_checker_errors(self): from proposals.utils.validate_sessions_tasks import validate_sessions_tasks if validate_sessions_tasks(self.study, self.stepper.has_multiple_studies()): - return True - return + return ["sub_page_errors"] + return [] class DocumentsChecker(