Skip to content

Commit

Permalink
Merge pull request #1132 from glensc/py3-super
Browse files Browse the repository at this point in the history
  • Loading branch information
glensc authored Oct 24, 2022
2 parents c1c01ff + 5111a13 commit 870fcd4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
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

0 comments on commit 870fcd4

Please sign in to comment.