🧑‍🔧️ GUI buttons correctly prefixed with pb.

This commit is contained in:
Robert Honz
2024-03-22 15:02:26 +01:00
parent 134836d471
commit 12d3360c12
6 changed files with 36 additions and 34 deletions
+3 -1
View File
@@ -284,7 +284,9 @@ class Download:
def metadata_write(self, track: Track, path_file: str):
result: bool = False
release_date: str = (
track.album.available_release_date.strftime("%Y-%m-%d") if track.album.available_release_date else track.album.release_date.strftime("%Y-%m-%d") if track.album.release_date else ""
track.album.available_release_date.strftime("%Y-%m-%d")
if track.album.available_release_date
else track.album.release_date.strftime("%Y-%m-%d") if track.album.release_date else ""
)
copy_right: str = track.copyright if hasattr(track, "copyright") and track.copyright else ""
isrc: str = track.isrc if hasattr(track, "isrc") and track.isrc else ""