change to log in info
This commit is contained in:
parent
40f7c04004
commit
ffb4e0ee37
1 changed files with 3 additions and 3 deletions
|
@ -37,10 +37,10 @@ class find_duplicate_files:
|
|||
count = 0
|
||||
for hash in first_files:
|
||||
count += 1
|
||||
print(f"# Checking file {count} of {total}")
|
||||
self._log.info(f"# Checking file {count} of {total}")
|
||||
if hash in second_files:
|
||||
print(f"#File '{first_files[hash]}' is dupe with '{second_files[hash]}'.")
|
||||
print(f"rm '{first_files[hash]}'")
|
||||
self._log.info(f"#File '{first_files[hash]}' is dupe with '{second_files[hash]}'.")
|
||||
self._log.info(f"rm '{first_files[hash]}'")
|
||||
|
||||
def recursive_scandir(self, path, ignore_hidden_files=True):
|
||||
''' Recursively scan a directory for files'''
|
||||
|
|
Loading…
Reference in a new issue