add debug infor if limit reach
This commit is contained in:
parent
8f19045d1e
commit
b754643db2
1 changed files with 1 additions and 0 deletions
|
@ -91,6 +91,7 @@ class find_duplicate_files:
|
|||
try:
|
||||
for file in os.scandir(path):
|
||||
if len(files) > self.limit:
|
||||
self._log.debug(f"Limit of {self.limit} passed ({len(files)})")
|
||||
break
|
||||
if not file.name.startswith('.'):
|
||||
if not self._test_exclude(file.path):
|
||||
|
|
Loading…
Reference in a new issue