mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2024-11-21 14:51:51 +00:00
trying to debug dup lbe
This commit is contained in:
parent
ca103fde22
commit
957f78b1a3
@ -335,6 +335,13 @@ def logbookedit(request, year=None, slug=None):
|
||||
else:
|
||||
authorflag = True
|
||||
print(f"! Unrecognised author: {author}")
|
||||
|
||||
# if somehow we get a slug set to just '2024', not eg '2020-08-10b'
|
||||
# This is a hack, why can we not reproduce this bug on the dev system?
|
||||
if len(slug) < 7:
|
||||
slug = ""
|
||||
if prev_slug < 7:
|
||||
prev_slug = ""
|
||||
|
||||
if not prev_slug and not slug:
|
||||
# Creating a new logbook entry with all the gubbins
|
||||
|
Loading…
Reference in New Issue
Block a user