Skip to content

Commit

Permalink
fix: ensure get_cheker_errors outputs iterable
Browse files Browse the repository at this point in the history
  • Loading branch information
EdoStorm96 committed Sep 18, 2024
1 parent d902caf commit 3d74064
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions proposals/utils/checkers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 3d74064

Please sign in to comment.