fix: [netaddr] fix the IP lookup

This commit is contained in:
Alexandre Dulaunoy 2020-06-09 13:19:45 +00:00
parent 64a77a9677
commit d24e10053f

View file

@ -80,7 +80,7 @@ class SSLQueryHandler(tornado.web.RequestHandler):
if not self._finished: if not self._finished:
self.finish() self.finish()
for ip in iplist: for ip in iplist:
s = r.smembers(ip) s = r.smembers(str(ip))
if s: if s:
out[str(ip)] = {} out[str(ip)] = {}
out[str(ip)]['certificates'] = [] out[str(ip)]['certificates'] = []