2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-21 23:01:52 +00:00
This commit is contained in:
Philip Sargent 2024-07-04 17:40:51 +03:00
parent 0ae1315f59
commit b28b590b60

View File

@ -382,7 +382,7 @@ def editexpopage(request, path):
# detect if this is a text file for editing
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)
return edittxtpage(request, path, filepath)