mirror of
https://github.com/pkkid/python-plexapi
synced 2024-11-10 06:04:15 +00:00
Lint
This commit is contained in:
parent
37727a69ed
commit
1d663b9209
2 changed files with 2 additions and 2 deletions
|
@ -713,7 +713,7 @@ class ShowSection(LibrarySection):
|
|||
'guid', 'duplicate', 'label', 'show.title', 'show.year', 'show.userRating',
|
||||
'show.viewCount', 'show.lastViewedAt', 'show.actor', 'show.addedAt', 'episode.title',
|
||||
'episode.originallyAvailableAt', 'episode.resolution', 'episode.subtitleLanguage',
|
||||
'episode.unwatched', 'episode.addedAt','episode.userRating', 'episode.viewCount',
|
||||
'episode.unwatched', 'episode.addedAt', 'episode.userRating', 'episode.viewCount',
|
||||
'episode.lastViewedAt')
|
||||
ALLOWED_SORT = ('addedAt', 'lastViewedAt', 'originallyAvailableAt', 'titleSort',
|
||||
'rating', 'unwatched')
|
||||
|
|
|
@ -334,7 +334,7 @@ class PlexServer(PlexObject):
|
|||
up the result listing. For example: datetime.now() - timedelta(days=7)
|
||||
"""
|
||||
results, subresults = [], '_init'
|
||||
args = {'sort':'viewedAt:desc'}
|
||||
args = {'sort': 'viewedAt:desc'}
|
||||
if mindate:
|
||||
args['viewedAt>'] = int(mindate.timestamp())
|
||||
args['X-Plex-Container-Start'] = 0
|
||||
|
|
Loading…
Reference in a new issue