summaryrefslogtreecommitdiffstats
path: root/core/views/expo.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@gmail.com>2025-01-28 20:54:12 +0000
committerPhilip Sargent <philip.sargent@gmail.com>2025-01-28 20:54:12 +0000
commitcf89b1b67f198df65d8a7c7e17f55971ef09ea6b (patch)
treee9286c5cf5a947a891ec825bf9c4ecfd47a0320d /core/views/expo.py
parente39760590fe3e30a5ad6c7645fe5f9d320ba8df3 (diff)
downloadtroggle-cf89b1b67f198df65d8a7c7e17f55971ef09ea6b.tar.gz
troggle-cf89b1b67f198df65d8a7c7e17f55971ef09ea6b.tar.bz2
troggle-cf89b1b67f198df65d8a7c7e17f55971ef09ea6b.zip
bug fix
Diffstat (limited to 'core/views/expo.py')
-rw-r--r--core/views/expo.py4
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)