diff --git a/ui/pages/__pycache__/downloads.cpython-312.pyc b/ui/pages/__pycache__/downloads.cpython-312.pyc index 8aff9a6a..aab23efd 100644 Binary files a/ui/pages/__pycache__/downloads.cpython-312.pyc and b/ui/pages/__pycache__/downloads.cpython-312.pyc differ diff --git a/ui/pages/downloads.py b/ui/pages/downloads.py index 8f08ae0d..ea09dced 100644 --- a/ui/pages/downloads.py +++ b/ui/pages/downloads.py @@ -7628,8 +7628,11 @@ class DownloadsPage(QWidget): print(f"🧹 File successfully moved and original cleaned up") # Clean up any empty directories left in the downloads folder - downloads_path = config_manager.get('soulseek.download_path', './Downloads') - self._cleanup_empty_directories(downloads_path, original_file_path) + try: + downloads_path = config_manager.get('soulseek.download_path', './Downloads') + self._cleanup_empty_directories(downloads_path, original_file_path) + except Exception as cleanup_error: + print(f"⚠️ Could not clean up empty directories: {cleanup_error}") # Download cover art for both albums and singles if album_info and album_info['is_album']: