mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-12-17 13:37:09 +00:00
Makefile
This commit is contained in:
@@ -382,7 +382,7 @@ def editexpopage(request, path):
|
|||||||
|
|
||||||
# detect if this is a text file for editing
|
# detect if this is a text file for editing
|
||||||
filepath = Path(settings.EXPOWEB) / path
|
filepath = Path(settings.EXPOWEB) / path
|
||||||
if filepath.suffix in [".txt", ".sty", ".tex"]:
|
if filepath.suffix in [".txt", ".sty", ".tex"] or filepath.name == "Makefile":
|
||||||
print("Editing TEXT file", filepath)
|
print("Editing TEXT file", filepath)
|
||||||
return edittxtpage(request, path, filepath)
|
return edittxtpage(request, path, filepath)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user