diff options
| author | Robert Honz <exislow+github@gmail.com> | 2025-03-24 09:01:49 +0100 |
|---|---|---|
| committer | Robert Honz <exislow+github@gmail.com> | 2025-03-24 09:01:49 +0100 |
| commit | b50e3bd14d8912e028257dfa36ff64e3e1908987 (patch) | |
| tree | 4e4741dc46ac01f38c7dc399529148c77535f55c /tidal_dl_ng/download.py | |
| parent | 1c4e669df8cf35a0cc5df7f0d8949dba0bddc94f (diff) | |
| download | tidal-dl-ng-b50e3bd14d8912e028257dfa36ff64e3e1908987.tar.gz | |
👷 Code style.
Diffstat (limited to 'tidal_dl_ng/download.py')
| -rw-r--r-- | tidal_dl_ng/download.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tidal_dl_ng/download.py b/tidal_dl_ng/download.py index 5e66f45..f5d9ad4 100644 --- a/tidal_dl_ng/download.py +++ b/tidal_dl_ng/download.py @@ -334,7 +334,9 @@ class Download: if media_id and media_type: # If no media instance is provided, we need to create the media instance. media = instantiate_media(self.session, media_type, media_id) - elif isinstance(media, Track) or isinstance(media, Video): # Check if media is available not deactivated / removed from TIDAL. + elif isinstance(media, Track) or isinstance( + media, Video + ): # Check if media is available not deactivated / removed from TIDAL. if not media.available: self.fn_logger.info( f"This item is not available for listening anymore on TIDAL. Skipping: {name_builder_item(media)}" |
