mirror of
https://github.com/kevinveenbirkenbach/directory-content-scanner.git
synced 2024-11-24 05:41:03 +01:00
Solved bvug
This commit is contained in:
parent
0a315ad6ea
commit
68aa8628e1
2
scan.py
2
scan.py
@ -105,7 +105,9 @@ class DirectoryHandler:
|
|||||||
if any(ignore_str in file_path for ignore_str in ignore_file_strings):
|
if any(ignore_str in file_path for ignore_str in ignore_file_strings):
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
if path_contains or content_contains:
|
||||||
return DirectoryHandler.path_or_content_contains(file_path, path_contains, content_contains)
|
return DirectoryHandler.path_or_content_contains(file_path, path_contains, content_contains)
|
||||||
|
return True
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def print_file_content(file_path, no_comments, compress):
|
def print_file_content(file_path, no_comments, compress):
|
||||||
|
Loading…
Reference in New Issue
Block a user