Fix AttributeError

This commit is contained in:
croneter 2018-11-04 17:00:34 +01:00
parent 9245f44f70
commit 91ea8c8d00

View file

@ -66,7 +66,7 @@ class PlexDBBase(object):
v.PLEX_TYPE_EPISODE, v.PLEX_TYPE_EPISODE,
v.PLEX_TYPE_SHOW, v.PLEX_TYPE_SHOW,
v.PLEX_TYPE_SEASON, v.PLEX_TYPE_SEASON,
v.PLEX_TYPE_SONG, 'song', # darn
v.PLEX_TYPE_ALBUM, v.PLEX_TYPE_ALBUM,
v.PLEX_TYPE_ARTIST): v.PLEX_TYPE_ARTIST):
method = getattr(self, kind) method = getattr(self, kind)