mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2024-11-26 01:01:53 +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)
|
m = re.search(r"noedit", head, re.DOTALL + re.IGNORECASE)
|
||||||
if m:
|
if m:
|
||||||
editable = False
|
editable = False
|
||||||
|
# print(f"NOEDIT set")
|
||||||
else:
|
else:
|
||||||
editable = os.access(expowebpath / path, os.W_OK) # are file permissions writeable?
|
editable = os.access(expowebpath / path, os.W_OK) # are file permissions writeable?
|
||||||
|
# print(f"EDITABLE ? {editable}\n{head}")
|
||||||
has_menu = False
|
has_menu = False
|
||||||
menumatch = re.match(r'(.*)<ul id="links">', body, re.DOTALL + re.IGNORECASE)
|
menumatch = re.match(r'(.*)<ul id="links">', body, re.DOTALL + re.IGNORECASE)
|
||||||
if menumatch:
|
if menumatch:
|
||||||
|
Loading…
Reference in New Issue
Block a user