2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-01-19 17:32:31 +00:00
This commit is contained in:
Martin Green 2022-06-19 01:57:08 +01:00
parent 3d35cf713f
commit 491fba7d64

View File

@ -158,7 +158,7 @@ def expowebpage(request, expowebpath, path):
if m:
editable = False
else:
editable = os.access(os.path.normpath(expowebpath / path).encode(sysdefaultencoding)), os.W_OK) # are file permissions writeable?
editable = os.access(os.path.normpath(expowebpath / path).encode(sysdefaultencoding), os.W_OK) # are file permissions writeable?
has_menu = False
menumatch = re.match(r'(.*)<div id="menu">', body, re.DOTALL + re.IGNORECASE)