Skip to content

Commit 8ad6ebf

Browse files
JonnyWong16Copilot
andauthored
Fix docstring example indent
Co-authored-by: Copilot <[email protected]>
1 parent 94961be commit 8ad6ebf

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

plexapi/media.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1386,22 +1386,22 @@ class CommonSenseMedia(PlexObject):
13861386
parentsNeedToKnow (str): A brief description of what parents need to know about the media.
13871387
talkingPoints (List<:class:`~plexapi.media.TalkingPoint`>): List of TalkingPoint objects.
13881388
1389-
Example:
1389+
Example:
13901390
1391-
.. code-block:: python
1391+
.. code-block:: python
13921392
1393-
from plexapi.server import PlexServer
1394-
plex = PlexServer('http://localhost:32400', token='xxxxxxxxxxxxxxxxxxxx')
1393+
from plexapi.server import PlexServer
1394+
plex = PlexServer('http://localhost:32400', token='xxxxxxxxxxxxxxxxxxxx')
13951395
1396-
# Retrieve the Common Sense Media info for a movie
1397-
movie = plex.library.section('Movies').get('Cars')
1398-
commonSenseMedia = movie.commonSenseMedia
1399-
ageRating = commonSenseMedia.ageRatings[0].age
1396+
# Retrieve the Common Sense Media info for a movie
1397+
movie = plex.library.section('Movies').get('Cars')
1398+
commonSenseMedia = movie.commonSenseMedia
1399+
ageRating = commonSenseMedia.ageRatings[0].age
14001400
1401-
# Load the Common Sense Media info from Plex Discover (Plex Pass required)
1402-
commonSenseMedia.reload()
1403-
parentalAdvisoryTopics = commonSenseMedia.parentalAdvisoryTopics
1404-
talkingPoints = commonSenseMedia.talkingPoints
1401+
# Load the Common Sense Media info from Plex Discover (Plex Pass required)
1402+
commonSenseMedia.reload()
1403+
parentalAdvisoryTopics = commonSenseMedia.parentalAdvisoryTopics
1404+
talkingPoints = commonSenseMedia.talkingPoints
14051405
14061406
"""
14071407
TAG = 'CommonSenseMedia'

0 commit comments

Comments
 (0)