forked from expo/troggle
shorten slug to fit
This commit is contained in:
parent
0ea3ed1ef2
commit
da4d7d6d5e
@ -538,8 +538,8 @@ class LoadingSurvex():
|
||||
# so we create a dummy one anyway. We should make logbook entry links optional in QMs in future and
|
||||
# remove this hack.
|
||||
qmyear = str(survexblock.date)[:4]
|
||||
blockname = survexblock.name
|
||||
logslug = f'DUM_{int(qmyear)}_{blockname}_{int(qm_no):03d}'
|
||||
blockname = survexblock.name[:7]
|
||||
logslug = f'D{int(qmyear)}_{blockname}_{int(qm_no):03d}'
|
||||
if survexblock.survexfile.cave:
|
||||
caveslug = survexblock.survexfile.cave.slug()
|
||||
place = survexblock.survexfile.cave
|
||||
|
Loading…
Reference in New Issue
Block a user