summaryrefslogtreecommitdiffstats
path: root/core/views/expo.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@gmail.com>2024-07-04 17:40:51 +0300
committerPhilip Sargent <philip.sargent@gmail.com>2024-07-04 17:40:51 +0300
commitb28b590b6026b2426891052ab63e231f93b8277b (patch)
treee3ef32fb89d7559f502e8bcf72bb08ae772645ac /core/views/expo.py
parent0ae1315f59e467eabf12c9202366f5648974a121 (diff)
downloadtroggle-b28b590b6026b2426891052ab63e231f93b8277b.tar.gz
troggle-b28b590b6026b2426891052ab63e231f93b8277b.tar.bz2
troggle-b28b590b6026b2426891052ab63e231f93b8277b.zip
Makefile
Diffstat (limited to 'core/views/expo.py')
-rw-r--r--core/views/expo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/views/expo.py b/core/views/expo.py
index 0a63ce3..6ce9cb7 100644
--- a/core/views/expo.py
+++ b/core/views/expo.py
@@ -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)