fix sessions -k <id>

This commit is contained in:
n1nj4sec 2017-04-16 23:40:55 +02:00
parent ef0e780042
commit baf4d0fa2c
1 changed files with 1 additions and 1 deletions

View File

@ -237,7 +237,7 @@ class PupyServer(threading.Thread):
return self.clients
for c in self.clients:
take=False
for sc in search_criteria.split():
for sc in str(search_criteria).split():
tab=sc.split(":",1)
if len(tab)==2 and tab[0] in [x for x in c.desc.iterkeys()]:#if the field is specified we search for the value in this field
take=True