Fix example in documentation

This commit is contained in:
Michael Shepanski 2017-02-02 00:52:23 -05:00
parent b5e29fdb28
commit 60ba091ecb

View file

@ -55,11 +55,10 @@ Usage Examples
.. code-block:: python
# Example 1: List all unwatched content in library.
for section in plex.library.sections():
print('Unwatched content in %s:' % section.title)
for video in section.unwatched():
print(' %s' % video.title)
# Example 1: List all unwatched movies.
movies = plex.library.section('Movies')
for video in movies.search(unwatched=True):
print(video.title)
.. code-block:: python