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:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user