summaryrefslogtreecommitdiffstats
path: root/core/views/uploads.py
diff options
context:
space:
mode:
Diffstat (limited to 'core/views/uploads.py')
-rw-r--r--core/views/uploads.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/views/uploads.py b/core/views/uploads.py
index 0031f24..d1d4402 100644
--- a/core/views/uploads.py
+++ b/core/views/uploads.py
@@ -228,7 +228,7 @@ def logbookedit(request, year=None, slug=None):
#TO DO author and team validation, and check that 'place' is not deleted and that *bloke not forgotten
git = settings.GIT
- dirpath = Path(settings.EXPOWEB) / "years" / year
+ dirpath = Path(settings.EXPOWEB) / "years" / str(year)
lbe_add = subprocess.run(
[git, "add", filename], cwd=dirpath, capture_output=True, text=True
)