fixed the blackwidow log file issue #14

This commit is contained in:
ekultek 2017-09-28 11:16:21 -05:00
parent 83e0a5a436
commit bf922eeb7c
2 changed files with 2 additions and 2 deletions

View file

@ -22,7 +22,7 @@ except NameError:
# clone link
CLONE = "https://github.com/ekultek/zeus-scanner.git"
# current version <major.minor.commit.patch ID>
VERSION = "1.0.19.8e6fa"
VERSION = "1.0.19.174a"
# colors to output depending on the version
VERSION_TYPE_COLORS = {"dev": 33, "stable": 92, "other": 30}
# version string formatting

View file

@ -69,7 +69,7 @@ class Blackwidow(object):
write to the log file
"""
full_path = "{}/{}".format(dir_path.format(os.getcwd()),
log_file.format(len(os.listdir(dir_path.format(os.getcwd())))))
log_file.format(len(os.listdir(dir_path.format(os.getcwd()))) + 1))
lib.settings.create_dir(dir_path.format(os.getcwd()))
with open(full_path, "a+") as log:
for url in urls: