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'(.*)