mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2024-11-24 08:11:52 +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:
|
||||||
if int(c.kataster_number) >= 100:
|
try:
|
||||||
return "99." + c.kataster_number
|
if int(c.kataster_number) >= 100:
|
||||||
if int(c.kataster_number) >= 10:
|
return "99." + c.kataster_number
|
||||||
return "9." + c.kataster_number
|
if int(c.kataster_number) >= 10:
|
||||||
return c.kataster_number
|
return "9." + 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