2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-24 00:01:54 +00:00

Error ms inserted

This commit is contained in:
Philip Sargent 2024-10-14 20:59:01 +03:00
parent 7e92ee2084
commit 29a7b984da

View File

@ -169,12 +169,14 @@ def caveKey(c):
if not c.kataster_number:
return "9999." + c.unofficial_number
else:
try:
if int(c.kataster_number) >= 100:
return "99." + c.kataster_number
if int(c.kataster_number) >= 10:
return "9." + c.kataster_number
return c.kataster_number
except:
return c.kataster_number + "_ERROR"
def getnotablecaves():
notablecaves = []