From 45b47d4cf2ed8458c244c1d3c6f9dde49e55febf Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Mon, 7 Nov 2022 12:44:20 +0100 Subject: [PATCH] Fix: page creation module --- app/scodoc/sco_edit_module.py | 9 ++++++--- sco_version.py | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/app/scodoc/sco_edit_module.py b/app/scodoc/sco_edit_module.py index af7141197..91194ebf7 100644 --- a/app/scodoc/sco_edit_module.py +++ b/app/scodoc/sco_edit_module.py @@ -779,14 +779,17 @@ def module_edit( return ( "\n".join(H) + tf[1] - + f""" + + ( + f"""
""" - if not create - else "" + html_sco_header.sco_footer() + if not create + else "" + ) + + html_sco_header.sco_footer() ) elif tf[0] == -1: return flask.redirect( diff --git a/sco_version.py b/sco_version.py index c4738bce5..a4bb7216d 100644 --- a/sco_version.py +++ b/sco_version.py @@ -1,7 +1,7 @@ # -*- mode: python -*- # -*- coding: utf-8 -*- -SCOVERSION = "9.4.1" +SCOVERSION = "9.4.2" SCONAME = "ScoDoc"