Skip to content

Commit

Permalink
fix scan error
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Aug 2, 2024
1 parent 3dca2ff commit 4840efd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bbot/scanner/scanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,10 +172,6 @@ def __init__(
self.dispatcher = dispatcher
self.dispatcher.set_scan(self)

from .stats import ScanStats

self.stats = ScanStats(self)

# scope distance
self.scope_config = self.config.get("scope", {})
self.scope_search_distance = max(0, int(self.scope_config.get("search_distance", 0)))
Expand Down Expand Up @@ -215,6 +211,10 @@ def __init__(
# how often to print scan status
self.status_frequency = self.config.get("status_frequency", 15)

from .stats import ScanStats

self.stats = ScanStats(self)

self._prepped = False
self._finished_init = False
self._new_activity = False
Expand Down

0 comments on commit 4840efd

Please sign in to comment.