mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2024-11-21 14:51:51 +00:00
Error ms inserted
This commit is contained in:
parent
7e92ee2084
commit
29a7b984da
@ -169,12 +169,14 @@ def caveKey(c):
|
|||||||
if not c.kataster_number:
|
if not c.kataster_number:
|
||||||
return "9999." + c.unofficial_number
|
return "9999." + c.unofficial_number
|
||||||
else:
|
else:
|
||||||
|
try:
|
||||||
if int(c.kataster_number) >= 100:
|
if int(c.kataster_number) >= 100:
|
||||||
return "99." + c.kataster_number
|
return "99." + c.kataster_number
|
||||||
if int(c.kataster_number) >= 10:
|
if int(c.kataster_number) >= 10:
|
||||||
return "9." + c.kataster_number
|
return "9." + c.kataster_number
|
||||||
return c.kataster_number
|
return c.kataster_number
|
||||||
|
except:
|
||||||
|
return c.kataster_number + "_ERROR"
|
||||||
|
|
||||||
def getnotablecaves():
|
def getnotablecaves():
|
||||||
notablecaves = []
|
notablecaves = []
|
||||||
|
Loading…
Reference in New Issue
Block a user