Skip to content

Commit

Permalink
Merge pull request #1978 from cmyui/patch-1
Browse files Browse the repository at this point in the history
Fix preservation of scan id at scan init
  • Loading branch information
TheTechromancer authored Nov 18, 2024
2 parents 49f094b + 7030aa2 commit 985624a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bbot/scanner/scanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def __init__(
self._success = False

if scan_id is not None:
self.id = str(id)
self.id = str(scan_id)
else:
self.id = f"SCAN:{sha1(rand_string(20)).hexdigest()}"

Expand Down

0 comments on commit 985624a

Please sign in to comment.