Skip to content
Snippets Groups Projects
Commit 1aeab1dc authored by Jakub Dylag's avatar Jakub Dylag
Browse files

(bug) phen.py code_errors mask cannot be None

parent 75ffab97
Branches
No related tags found
No related merge requests found
...@@ -735,7 +735,7 @@ def _write_code_errors(code_errors: list, code_errors_path: Path): ...@@ -735,7 +735,7 @@ def _write_code_errors(code_errors: list, code_errors_path: Path):
"SOURCE": err.codes_file, "SOURCE": err.codes_file,
"CAUSE": err.message, "CAUSE": err.message,
} }
for err in code_errors for err in code_errors if err.mask is not None
] ]
) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment