mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-01-31 15:32:35 +00:00
test
This commit is contained in:
parent
b75a91ed70
commit
3d35cf713f
@ -158,7 +158,7 @@ def expowebpage(request, expowebpath, path):
|
||||
if m:
|
||||
editable = False
|
||||
else:
|
||||
editable = os.access(Path(expowebpath / path), 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)
|
||||
|
Loading…
Reference in New Issue
Block a user