mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-12-16 22:17:06 +00:00
bug fix to prev commit
This commit is contained in:
@@ -327,7 +327,7 @@ def editexpopage(request, path):
|
|||||||
|
|
||||||
if result != html: # Check if content changed
|
if result != html: # Check if content changed
|
||||||
try:
|
try:
|
||||||
write_and_commit(filepath, content)
|
write_and_commit(filepath, result)
|
||||||
except WriteAndCommitError as e:
|
except WriteAndCommitError as e:
|
||||||
return render(request,'errors/generic.html', {'message': e.message})
|
return render(request,'errors/generic.html', {'message': e.message})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user