From 654f8e8c6cde1b2e5f39712c28fe1fbe227681e7 Mon Sep 17 00:00:00 2001 From: Martin Green Date: Mon, 20 Jun 2022 22:12:00 +0100 Subject: [PATCH] bug fix to prev commit --- core/views/expo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/views/expo.py b/core/views/expo.py index 33a905a..1efa0e6 100644 --- a/core/views/expo.py +++ b/core/views/expo.py @@ -327,7 +327,7 @@ def editexpopage(request, path): if result != html: # Check if content changed try: - write_and_commit(filepath, content) + write_and_commit(filepath, result) except WriteAndCommitError as e: return render(request,'errors/generic.html', {'message': e.message})