Skip to content

Commit

Permalink
image_cache.get_artwork() requires whole object. Fixes #3731
Browse files Browse the repository at this point in the history
  • Loading branch information
medariox authored Feb 9, 2018
1 parent e83771d commit 89e22f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions medusa/tv/series.py
Original file line number Diff line number Diff line change
Expand Up @@ -524,13 +524,13 @@ def airs(self, value):
def poster(self):
"""Return poster path."""
img_type = image_cache.POSTER
return image_cache.get_artwork(img_type, self.series_id)
return image_cache.get_artwork(img_type, self)

@property
def banner(self):
"""Return banner path."""
img_type = image_cache.POSTER
return image_cache.get_artwork(img_type, self.series_id)
return image_cache.get_artwork(img_type, self)

@property
def aliases(self):
Expand Down

0 comments on commit 89e22f7

Please sign in to comment.