diff options
author | Martin Green <martin.speleo@gmail.com> | 2022-06-19 01:57:08 +0100 |
---|---|---|
committer | Martin Green <martin.speleo@gmail.com> | 2022-06-19 01:57:08 +0100 |
commit | 491fba7d64886ac322ab661d4f58762c7710d0aa (patch) | |
tree | 07bce139eba9a063a70ec4fee43b8114df1c0da3 /core/views/expo.py | |
parent | 3d35cf713f9c9be5b29ddd167c489bff9ce12fba (diff) | |
download | troggle-491fba7d64886ac322ab661d4f58762c7710d0aa.tar.gz troggle-491fba7d64886ac322ab661d4f58762c7710d0aa.tar.bz2 troggle-491fba7d64886ac322ab661d4f58762c7710d0aa.zip |
test
Diffstat (limited to 'core/views/expo.py')
-rw-r--r-- | core/views/expo.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/views/expo.py b/core/views/expo.py index 3406851..3c60e92 100644 --- a/core/views/expo.py +++ b/core/views/expo.py @@ -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) |