Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
babenek committed Jan 17, 2025
1 parent 6f8b6fa commit f4b1068
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions credsweeper/deep_scanner/deep_scanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,7 @@ def scan(self,
scanner_classes = self.get_deep_scanners(data, content_provider.file_type, depth)
fallback = True
for scan_class in scanner_classes:
if new_candidates := scan_class.data_scan(self, data_provider, depth,
recursive_limit_size - len(data)):
if new_candidates := scan_class.data_scan(self, data_provider, depth, recursive_limit_size - len(data)):
augment_candidates(candidates, new_candidates)
fallback = False
if fallback and ByteScanner not in scanner_classes and not Util.is_binary(data):
Expand Down

0 comments on commit f4b1068

Please sign in to comment.