summaryrefslogtreecommitdiffstats
path: root/core/views/expo.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@gmail.com>2023-08-02 15:48:36 +0300
committerPhilip Sargent <philip.sargent@gmail.com>2023-08-02 15:48:36 +0300
commitc76c09fced6005888b6ab9a8433128ff8a6965ab (patch)
treec3151c05780b38d234535a2fd408ac98ab6ff7b0 /core/views/expo.py
parentefa40b47caac6e9d753ed032060d8e9dce946bd4 (diff)
downloadtroggle-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.py2
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: