mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-12-14 19:37:13 +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
|
||||
try:
|
||||
write_and_commit(filepath, content)
|
||||
write_and_commit(filepath, result)
|
||||
except WriteAndCommitError as e:
|
||||
return render(request,'errors/generic.html', {'message': e.message})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user