mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-12-17 06:47:27 +00:00
Path seems newly fragile re int rather than str
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user