Skip to content

Commit 0ecf66e

Browse files
committed
! bugfix
1 parent a69c0a0 commit 0ecf66e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

httpscan.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ def __init__(self, args):
215215
# TODO: make separate queues for fast logging
216216
self.args = args
217217
self.lock = RLock()
218-
# self.log_lock = RLock()
218+
219219
# Colorama init
220220
init()
221221
# Initialise logging
@@ -476,8 +476,8 @@ def __init__(self, args):
476476

477477
# Reading urls file
478478
urls = helper.file_to_list(args.urls)
479-
if hosts is None:
480-
self.output.print_and_log('Urls file %s not found!' % args.hosts, logging.ERROR)
479+
if urls is None:
480+
self.output.print_and_log('Urls file %s not found!' % args.urls, logging.ERROR)
481481
exit(-1)
482482
self.urls = urls
483483

0 commit comments

Comments
 (0)