From f8cec612ad55b5ea8f2f840a128b33364fe9dec2 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 6 Dec 2024 14:35:39 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/Mod/Fem/femresult/resulttools.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Mod/Fem/femresult/resulttools.py b/src/Mod/Fem/femresult/resulttools.py index 1b6ccd957885..c6c9276224b6 100644 --- a/src/Mod/Fem/femresult/resulttools.py +++ b/src/Mod/Fem/femresult/resulttools.py @@ -64,8 +64,9 @@ def purge_results(analysis): # output text object for m in analysis.Group: - if is_of_type(m, "App::TextDocument") and (m.Name.startswith("ccx_dat_file") or - m.Name.startswith("SolverElmerOutput")): + if is_of_type(m, "App::TextDocument") and ( + m.Name.startswith("ccx_dat_file") or m.Name.startswith("SolverElmerOutput") + ): analysis.Document.removeObject(m.Name) analysis.Document.recompute()