diff --git a/core/views/expo.py b/core/views/expo.py index 07ea323..c57d5cf 100644 --- a/core/views/expo.py +++ b/core/views/expo.py @@ -325,7 +325,7 @@ def editexpopage(request, path): body = body.replace("\r", "") result = "%s%s%s\n%s%s" % (preheader, headerargs, head, postheader, bodyargs, body, postbody) - cwd = filepath.parent + cwd = Path(filepath).parent filename = filepath.name git = settings.GIT # GIT see also core/models/cave.py writetrogglefile()