Skip to content

Bulk asynchronous downloader for multiple file hosts

fix issue with filtering other matches

datawhores35622d710d15
diff --git a/cyberdrop_dl/clients/hash_client.py b/cyberdrop_dl/clients/hash_client.py
index 945181155..c1c2bf5fe 100644
--- a/cyberdrop_dl/clients/hash_client.py
+++ b/cyberdrop_dl/clients/hash_client.py
@@ -110,7 +110,7 @@ class HashClient:
await self.manager.db_manager.hash_table.get_files_with_hash_matches(hash, size)))
# Filter out files with the same path as any file in other_files
- filtered_matches = [match for match in all_matches if match not in other_files]
+ filtered_matches = [match for match in all_matches if str(match) not in other_files]
#Filter files based on if the file exists
filtered_matches = list(filter(lambda x: x.exists() if not self.manager.config_manager.global_settings_data['Dupe_Cleanup_Options']['count_missing_as_existing'] else True,all_matches ))