diff options
author | Philip Sargent <philip.sargent@gmail.com> | 2023-08-02 15:48:36 +0300 |
---|---|---|
committer | Philip Sargent <philip.sargent@gmail.com> | 2023-08-02 15:48:36 +0300 |
commit | c76c09fced6005888b6ab9a8433128ff8a6965ab (patch) | |
tree | c3151c05780b38d234535a2fd408ac98ab6ff7b0 /core/views/expo.py | |
parent | efa40b47caac6e9d753ed032060d8e9dce946bd4 (diff) | |
download | troggle-c76c09fced6005888b6ab9a8433128ff8a6965ab.tar.gz troggle-c76c09fced6005888b6ab9a8433128ff8a6965ab.tar.bz2 troggle-c76c09fced6005888b6ab9a8433128ff8a6965ab.zip |
remove excess prints
Diffstat (limited to 'core/views/expo.py')
-rw-r--r-- | core/views/expo.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/views/expo.py b/core/views/expo.py index bf54f61..3e36862 100644 --- a/core/views/expo.py +++ b/core/views/expo.py @@ -182,8 +182,10 @@ def expowebpage(request, expowebpath, path): m = re.search(r"noedit", head, re.DOTALL + re.IGNORECASE) if m: editable = False + # print(f"NOEDIT set") else: editable = os.access(expowebpath / path, os.W_OK) # are file permissions writeable? + # print(f"EDITABLE ? {editable}\n{head}") has_menu = False menumatch = re.match(r'(.*)<ul id="links">', body, re.DOTALL + re.IGNORECASE) if menumatch: |