From eccebcdc4fe19f0185333abb6149ff8b18dc2876 Mon Sep 17 00:00:00 2001 From: "Antonio J. Delgado" Date: Wed, 25 Jan 2023 14:42:47 +0200 Subject: [PATCH] fix path --- find_duplicate_files/find_duplicate_files.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/find_duplicate_files/find_duplicate_files.py b/find_duplicate_files/find_duplicate_files.py index ddff556..03ef789 100644 --- a/find_duplicate_files/find_duplicate_files.py +++ b/find_duplicate_files/find_duplicate_files.py @@ -49,7 +49,7 @@ class find_duplicate_files: with open(file.name, 'r') as file_pointer: file_content = file_pointer.read() hash.update(file_content) - files[hash.hexdigest()] = file.name + files[hash.hexdigest()] = file.path elif file.is_dir(follow_symlinks=False): more_files = self.recursive_scandir( file.path,