diff options
author | Philip Sargent <philip.sargent@gmail.com> | 2025-01-28 20:54:12 +0000 |
---|---|---|
committer | Philip Sargent <philip.sargent@gmail.com> | 2025-01-28 20:54:12 +0000 |
commit | cf89b1b67f198df65d8a7c7e17f55971ef09ea6b (patch) | |
tree | e9286c5cf5a947a891ec825bf9c4ecfd47a0320d | |
parent | e39760590fe3e30a5ad6c7645fe5f9d320ba8df3 (diff) | |
download | troggle-cf89b1b67f198df65d8a7c7e17f55971ef09ea6b.tar.gz troggle-cf89b1b67f198df65d8a7c7e17f55971ef09ea6b.tar.bz2 troggle-cf89b1b67f198df65d8a7c7e17f55971ef09ea6b.zip |
bug fix
-rw-r--r-- | core/views/expo.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/views/expo.py b/core/views/expo.py index e6df44f..ac5c522 100644 --- a/core/views/expo.py +++ b/core/views/expo.py @@ -509,8 +509,8 @@ def editexpopage(request, path): write_and_commit([(filepath, result, "utf-8")], f"{change_message} - online edit of {path}", editor) except WriteAndCommitError as e: return render(request, "errors/generic.html", {"message": e.message}) - print(f"Returning response now, which should set cookie on client browser") - return edit_response + print(f"Returning response now, which should set cookie on client browser") + return edit_response else: if filefound: m = re.search(r"<title>(.*)</title>", head, re.DOTALL + re.IGNORECASE) |