Log cleanup success only when performed

This commit is contained in:
Rafael Moraes
2026-04-21 08:32:43 -03:00
parent 119a39c4fe
commit 97e8fd2223
+1 -2
View File
@@ -254,5 +254,4 @@ class AppleMusicDownloader:
temp_path = Path(self.base.temp_path) / TEMP_PATH_TEMPLATE.format(folder_tag)
if temp_path.exists() and temp_path.is_dir() and not self.skip_cleanup:
shutil.rmtree(temp_path, ignore_errors=True)
log.debug("success")
log.debug("success")