Skip to content

Commit

Permalink
Fixed formatting in [trakt/interfaces/sync/history.py]
Browse files Browse the repository at this point in the history
  • Loading branch information
fuzeman committed Oct 25, 2018
1 parent fddbebe commit 2a9793d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion trakt/interfaces/sync/history.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ class SyncHistoryInterface(Get, Add, Remove):
path = 'sync/history'
flags = {'is_watched': True}

def get(self, media=None, id=None, page=1, per_page=10, start_at=None, end_at=None, store=None, extended=None, **kwargs):
def get(self, media=None, id=None, page=1, per_page=10, start_at=None, end_at=None,
store=None, extended=None, **kwargs):

if not media and id:
raise ValueError('The "id" parameter also requires the "media" parameter to be defined')

Expand Down

0 comments on commit 2a9793d

Please sign in to comment.