mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2024-11-21 23:01:52 +00:00
Makefile
This commit is contained in:
parent
0ae1315f59
commit
b28b590b60
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user