mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-12-16 22:17:06 +00:00
bug fix
This commit is contained in:
@@ -509,8 +509,8 @@ def editexpopage(request, path):
|
|||||||
write_and_commit([(filepath, result, "utf-8")], f"{change_message} - online edit of {path}", editor)
|
write_and_commit([(filepath, result, "utf-8")], f"{change_message} - online edit of {path}", editor)
|
||||||
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})
|
||||||
print(f"Returning response now, which should set cookie on client browser")
|
print(f"Returning response now, which should set cookie on client browser")
|
||||||
return edit_response
|
return edit_response
|
||||||
else:
|
else:
|
||||||
if filefound:
|
if filefound:
|
||||||
m = re.search(r"<title>(.*)</title>", head, re.DOTALL + re.IGNORECASE)
|
m = re.search(r"<title>(.*)</title>", head, re.DOTALL + re.IGNORECASE)
|
||||||
|
|||||||
Reference in New Issue
Block a user