diff options
author | Philip Sargent <philip.sargent@gmail.com> | 2024-07-04 17:40:51 +0300 |
---|---|---|
committer | Philip Sargent <philip.sargent@gmail.com> | 2024-07-04 17:40:51 +0300 |
commit | b28b590b6026b2426891052ab63e231f93b8277b (patch) | |
tree | e3ef32fb89d7559f502e8bcf72bb08ae772645ac /core/views/expo.py | |
parent | 0ae1315f59e467eabf12c9202366f5648974a121 (diff) | |
download | troggle-b28b590b6026b2426891052ab63e231f93b8277b.tar.gz troggle-b28b590b6026b2426891052ab63e231f93b8277b.tar.bz2 troggle-b28b590b6026b2426891052ab63e231f93b8277b.zip |
Makefile
Diffstat (limited to 'core/views/expo.py')
-rw-r--r-- | core/views/expo.py | 2 |
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) |