except OAuthException for liked list
Use case : Some time ago I "liked" a playlist but now the owner's profile is private and I can't see it anymore until I follow him.
Fixes
from trakt.users import UserList
-from trakt.errors import NotFoundException
+from trakt.errors import NotFoundException, OAuthException
from trakt.movies import Movie
from trakt.tv import TVEpisode
from plexapi.video import Episode
@@ -55,7 +55,7 @@ def addList(self, username, listname, traktid_list=None):
try:
self.lists.append(TraktList(username, listname))
logging.info("Downloaded List {}".format(listname))
- except NotFoundException:
+ except (NotFoundException, OAuthException):
logging.warning("Failed to get list {} by user {}".format(listname, username))
def addPlexItemToLists(self, traktid, plex_item):
