summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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: