Skip to content

Commit

Permalink
Update deduplify/compare_files.py
Browse files Browse the repository at this point in the history
  • Loading branch information
sgibson91 authored Feb 26, 2022
1 parent 7fe0b92 commit be961ed
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions deduplify/compare_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,6 @@ def compare_filenames(file_list: list) -> str:
] # Get the filenames
name_freq = Counter(filenames) # Count the frequency of the filenames

# TODO: #20 Update to handle cases where the length of the filenames are equivalent
# but they are different filenames.
if len(name_freq) == 1:
file_list.remove(min(file_list, key=len))
return file_list
Expand Down

0 comments on commit be961ed

Please sign in to comment.