forked from expo/troggle
bug fix to prev commit
This commit is contained in:
parent
c6272e4103
commit
654f8e8c6c
@ -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})
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user