2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-16 23:47:04 +00:00

restore crash to try to debug

This commit is contained in:
2024-02-05 22:16:51 +00:00
parent 478f8b9ea1
commit 18a8fcbfb5
2 changed files with 8 additions and 5 deletions

View File

@@ -193,7 +193,8 @@ def logbookedit(request, year=None, slug=None):
else:
year = slug[0:4]
try:
year = str(int(year))
year = str(int(year)) # but maybe slug was hand-edited to be a future year..
year = validate_year(year) # so fix that
except:
year = current_expo()