diff options
author | Philip Sargent <philip.sargent@gmail.com> | 2023-09-02 19:43:50 +0300 |
---|---|---|
committer | Philip Sargent <philip.sargent@gmail.com> | 2023-09-02 19:43:50 +0300 |
commit | eb7a1efea51dc68a4cb3c2d4da37127ba28a7991 (patch) | |
tree | 26fbaa8af294523477b6ab44eb7aadd274e4b543 /core/views/uploads.py | |
parent | a4f676fd320ab8bc22ac3233018b88dfa3238855 (diff) | |
download | troggle-eb7a1efea51dc68a4cb3c2d4da37127ba28a7991.tar.gz troggle-eb7a1efea51dc68a4cb3c2d4da37127ba28a7991.tar.bz2 troggle-eb7a1efea51dc68a4cb3c2d4da37127ba28a7991.zip |
Path seems newly fragile re int rather than str
Diffstat (limited to 'core/views/uploads.py')
-rw-r--r-- | core/views/uploads.py | 2 |
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 ) |