Skip to content

Bulk asynchronous downloader for multiple file hosts

don't break out of program_ui loop

datawhores8027c99b4894
diff --git a/cyberdrop_dl/clients/hash_client.py b/cyberdrop_dl/clients/hash_client.py
index def81aac2..10ad6927b 100644
--- a/cyberdrop_dl/clients/hash_client.py
+++ b/cyberdrop_dl/clients/hash_client.py
@@ -28,3 +28,4 @@ class HashClient:
else:
hash = await self.manager.hash_manager.hash_file(file)
await self.manager.db_manager.hash_table.insert_or_update_hash_db(hash, file.stat().st_size, file.name, file.parent)
+
diff --git a/cyberdrop_dl/ui/ui.py b/cyberdrop_dl/ui/ui.py
index 5faa58c04..c3d687856 100644
--- a/cyberdrop_dl/ui/ui.py
+++ b/cyberdrop_dl/ui/ui.py
@@ -51,7 +51,6 @@ def program_ui(manager: Manager):
elif action == 4:
path=path_prompt(manager)
HashClient(manager).hash_directory(path)
- break
# Sort All Configs
elif action == 5: