forked from expo/troggle
Fixed cave order
This commit is contained in:
parent
ed1d273e03
commit
c0782e1cca
@ -30,10 +30,10 @@ def numericalcmp(x, y):
|
||||
|
||||
|
||||
|
||||
def caveCmp(x, y):
|
||||
def caveCmp(x, y):
|
||||
if x.kataster_number:
|
||||
if y.kataster_number:
|
||||
return numericalcmp(x.kataster_number, y.kataster_number)
|
||||
return numericalcmp(x.kataster_number, y.kataster_number) # Note that cave kataster numbers are not generally integers.
|
||||
else:
|
||||
return -1
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user