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})