diff options
author | Philip Sargent <philip.sargent@gmail.com> | 2024-12-29 02:04:55 +0000 |
---|---|---|
committer | Philip Sargent <philip.sargent@gmail.com> | 2024-12-29 02:04:55 +0000 |
commit | 13c5d14a9fb102d1f5ea78fcd58b6e2a30fe81b7 (patch) | |
tree | 418dabe3ffc395fca49aca1e2b44640f494ce8a9 /core/views/expo.py | |
parent | dac3e6e2889b1d194069c1b8d1eb98fea6d1f7eb (diff) | |
download | troggle-13c5d14a9fb102d1f5ea78fcd58b6e2a30fe81b7.tar.gz troggle-13c5d14a9fb102d1f5ea78fcd58b6e2a30fe81b7.tar.bz2 troggle-13c5d14a9fb102d1f5ea78fcd58b6e2a30fe81b7.zip |
Allow edit of another non .txt file
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 3432ac3..d0b721e 100644 --- a/core/views/expo.py +++ b/core/views/expo.py @@ -419,7 +419,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"] or filepath.name == "Makefile": + if filepath.suffix in [".txt", ".sty", ".tex"] or filepath.name == "Makefile" or filepath.name == "cave-number-index": print("Editing TEXT file", filepath) return edittxtpage(request, path, filepath) |