uidNumber filter
This commit is contained in:
parent
4608abff5f
commit
20ea82d349
1
app.py
1
app.py
@ -761,6 +761,7 @@ def find_uid_number(conf, conn):
|
|||||||
for i in conn.response:
|
for i in conn.response:
|
||||||
uidNumbersList.append(i['attributes']['uidNumber'])
|
uidNumbersList.append(i['attributes']['uidNumber'])
|
||||||
|
|
||||||
|
uidNumbersList = list(filter(lambda i: type(i) is int, uidNumbersList))
|
||||||
return max(uidNumbersList)
|
return max(uidNumbersList)
|
||||||
|
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user