diff --git a/app.py b/app.py index b36029a..fd46304 100644 --- a/app.py +++ b/app.py @@ -760,7 +760,8 @@ def find_uid_number(conf, conn): uidNumbersList=[] for i in conn.response: uidNumbersList.append(i['attributes']['uidNumber']) - + + uidNumbersList = list(filter(lambda i: type(i) is int, uidNumbersList)) return max(uidNumbersList) else: