Skip to content

Bulk asynchronous downloader for multiple file hosts

fix hashing while download

datawhoresce6c52d3ce8b
diff --git a/cyberdrop_dl/clients/hash_client.py b/cyberdrop_dl/clients/hash_client.py
index cbc2c85e2..cc033180e 100644
--- a/cyberdrop_dl/clients/hash_client.py
+++ b/cyberdrop_dl/clients/hash_client.py
@@ -56,7 +56,7 @@ class HashClient:
async def hash_item_during_download(self,media_item:MediaItem):
try:
if self.manager.config_manager.global_settings_data['Dupe_Cleanup_Options']['hash_while_downloading']:
- self.hash_item(media_item.complete_file)
+ await self.hash_item(media_item.complete_file)
except Exception as e:
await log(f"After hash processing failed: {media_item.complete_file} with error {e}", 40)