minor update so that if no hosts are found it will not default to the last log file

This commit is contained in:
ekultek 2017-09-14 13:42:04 -05:00
parent 3042b2e24c
commit 98e0c6b8b6
2 changed files with 2 additions and 1 deletions

View file

@ -17,7 +17,7 @@ import bin.unzip_gecko
# clone link
CLONE = "https://github.com/ekultek/zeus-scanner.git"
# current version <major.minor.commit.patch ID>
VERSION = "1.0.10"
VERSION = "1.0.11.4666"
# colors to output depending on the version
VERSION_TYPE_COLORS = {"dev": 33, "stable": 92, "other": 30}
# version string formatting

View file

@ -217,4 +217,5 @@ def parse_search_results(
"did not find any usable URL's with the given query '{}' "
"using search engine '{}'...".format(query, url), level=50
))
shutdown()
return list(retval) if len(retval) != 0 else None