mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2024-11-25 08:41:51 +00:00
remove excess prints
This commit is contained in:
parent
efa40b47ca
commit
c76c09fced
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user