summaryrefslogtreecommitdiffstats
path: root/core/views/expo.py
diff options
context:
space:
mode:
Diffstat (limited to 'core/views/expo.py')
-rw-r--r--core/views/expo.py2
1 files changed, 1 insertions, 1 deletions
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<head%s>%s</head>%s<body%s>\n%s</body>%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()