From 5c4afe265558c7a088b82fa222ab0e73d390f79b Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Tue, 14 Nov 2023 13:47:20 +0100 Subject: [PATCH] Changed unit --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 4f54cad..7d19a07 100644 --- a/main.py +++ b/main.py @@ -14,7 +14,7 @@ def md5sum(filename): def find_duplicates(directories, file_type): hashes = defaultdict(list) for directory in directories: - for root, dirs, files in tqdm(os.walk(directory, followlinks=False), desc=f"Indexing files of {directory}", unit="dir"): + for root, dirs, files in tqdm(os.walk(directory, followlinks=False), desc=f"Indexing files of {directory}", unit="Directories"): for filename in files: if file_type and not filename.endswith(file_type): continue