diff --git a/parsers/caves.py b/parsers/caves.py index 9d95f32..50882a3 100644 --- a/parsers/caves.py +++ b/parsers/caves.py @@ -383,7 +383,7 @@ def readcave(filename): if survex_file[0]: if not (Path(SURVEX_DATA) / survex_file[0]).is_file(): message = f' ! {slug:12} survex filename does not exist :LOSER:"{survex_file[0]}" in "{filename}"' - DataIssue.objects.create(parser='caves', message=message, url=f'/{slug}_cave_edit/') + DataIssue.objects.create(parser='caves', message=message, url=f'/{slug[0:4]}/{slug}_cave_edit/') print(message)