Skip to content

Commit

Permalink
Use TraktUserList.from_trakt_list method
Browse files Browse the repository at this point in the history
  • Loading branch information
glensc committed Feb 29, 2024
1 parent 3b6c56a commit 95a6ad4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plextraktsync/trakt/TraktUserListCollection.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def add_watchlist(self, items: list[TraktPlayable]):
return tl

def add_list(self, list_id: int, list_name: str):
tl = TraktUserList(list_id, list_name)
tl = TraktUserList.from_trakt_list(list_id, list_name)
self.append(tl)
return tl

Expand Down

0 comments on commit 95a6ad4

Please sign in to comment.