fixed code linter issues
This commit is contained in:
parent
1fc6ee9896
commit
9f183cfc35
1 changed files with 1 additions and 2 deletions
|
|
@ -53,7 +53,7 @@ class SoundcloudAlbumTrack(SoundcloudTrack):
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def total_tracks(self) -> int:
|
def total_tracks(self) -> int:
|
||||||
"""Returns the entry's total tracks in album for singles this is 1, fetched from its internal album"""
|
"""Returns the entry's total tracks in album for singles this is 1"""
|
||||||
return self._playlist_metadata.playlist_count
|
return self._playlist_metadata.playlist_count
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
|
@ -110,7 +110,6 @@ class SoundcloudAlbum(Entry):
|
||||||
album=self.title,
|
album=self.title,
|
||||||
album_year=self.album_year,
|
album_year=self.album_year,
|
||||||
soundcloud_track=track,
|
soundcloud_track=track,
|
||||||
total_tracks=self.track_count,
|
|
||||||
playlist_metadata=PlaylistMetadata(
|
playlist_metadata=PlaylistMetadata(
|
||||||
playlist_id=self.uid,
|
playlist_id=self.uid,
|
||||||
playlist_extractor=self.extractor,
|
playlist_extractor=self.extractor,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue