diff options
-rw-r--r-- | core/views/expo.py | 2 |
1 files changed, 1 insertions, 1 deletions
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}) |