update static typing in omnisint

This commit is contained in:
L1ghtn1ng 2021-10-04 01:02:42 +01:00
parent adfb2c5c77
commit e587a94c3a

View file

@ -6,7 +6,7 @@
class SearchOmnisint:
def __init__(self, word):
self.word = word
self.totalhosts = set()
self.totalhosts = list()
self.proxy = False
async def do_search(self):
@ -15,7 +15,7 @@ async def do_search(self):
entries = json.loads(data)
self.totalhosts = entries
async def get_hostnames(self) -> set:
async def get_hostnames(self) -> list:
return self.totalhosts
async def process(self, proxy=False):