bug fix to prev commit

This commit is contained in:
Martin Green 2022-06-20 22:12:00 +01:00
parent c6272e4103
commit 654f8e8c6c

View File

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