Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions plextraktsync/commands/watch.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

class ScrobblerCollection(dict):
def __init__(self, trakt: TraktApi, threshold=80):
super(dict, self).__init__()
super().__init__()
self.trakt = trakt
self.threshold = threshold

Expand All @@ -27,7 +27,7 @@ def __missing__(self, key: Union[Movie, TVEpisode]):

class SessionCollection(dict):
def __init__(self, plex: PlexApi):
super(dict, self).__init__()
super().__init__()
self.plex = plex

def __missing__(self, key: str):
Expand Down
2 changes: 1 addition & 1 deletion plextraktsync/plex_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def __str__(self):

class PlexRatingCollection(dict):
def __init__(self, plex: PlexApi):
super(dict, self).__init__()
super().__init__()
self.plex = plex

def __missing__(self, section_id: int):
Expand Down
2 changes: 1 addition & 1 deletion plextraktsync/trakt_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def _post(self, method: str, progress: float):

class TraktRatingCollection(dict):
def __init__(self, trakt: TraktApi):
super(dict, self).__init__()
super().__init__()
self.trakt = trakt

def __missing__(self, media_type: str):
Expand Down