diff --git a/bbot/modules/leakix.py b/bbot/modules/leakix.py index 1f79dc8b12..d56c606ddc 100644 --- a/bbot/modules/leakix.py +++ b/bbot/modules/leakix.py @@ -38,7 +38,7 @@ async def request_url(self, query): async def parse_results(self, r, query=None): results = set() json = r.json() - if json: + if isinstance(json, list): for entry in json: subdomain = entry.get("subdomain", "") if subdomain: