summaryrefslogtreecommitdiffstats
path: root/core/views/expo.py
diff options
context:
space:
mode:
authorMartin Green <martin.speleo@gmail.com>2022-06-19 00:59:54 +0100
committerMartin Green <martin.speleo@gmail.com>2022-06-19 00:59:54 +0100
commitb39a57786d106943a467e6fdc378d0c8d65fda99 (patch)
treed30c6f66123020f5c5d4b12613ad1605c446a631 /core/views/expo.py
parent4fe306d35f9316b652c15f62b9ea7c383d286c45 (diff)
downloadtroggle-b39a57786d106943a467e6fdc378d0c8d65fda99.tar.gz
troggle-b39a57786d106943a467e6fdc378d0c8d65fda99.tar.bz2
troggle-b39a57786d106943a467e6fdc378d0c8d65fda99.zip
test
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()