Skip to content

Commit dfc5471

Browse files
authored
Fix MyPlexPinLogin doc strings (#1336)
1 parent 654ed50 commit dfc5471

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

plexapi/myplex.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1704,7 +1704,9 @@ def __init__(self, session=None, requestTimeout=None, headers=None, oauth=False)
17041704

17051705
@property
17061706
def pin(self):
1707-
""" Return the 4 character PIN used for linking a device at https://plex.tv/link. """
1707+
""" Return the 4 character PIN used for linking a device at
1708+
https://plex.tv/link.
1709+
"""
17081710
if self._oauth:
17091711
raise BadRequest('Cannot use PIN for Plex OAuth login')
17101712
return self._code
@@ -1736,6 +1738,7 @@ def oauthUrl(self, forwardUrl=None):
17361738

17371739
def run(self, callback=None, timeout=None):
17381740
""" Starts the thread which monitors the PIN login state.
1741+
17391742
Parameters:
17401743
callback (Callable[str]): Callback called with the received authentication token (optional).
17411744
timeout (int): Timeout in seconds waiting for the PIN login to succeed (optional).
@@ -1758,6 +1761,7 @@ def run(self, callback=None, timeout=None):
17581761

17591762
def waitForLogin(self):
17601763
""" Waits for the PIN login to succeed or expire.
1764+
17611765
Parameters:
17621766
callback (Callable[str]): Callback called with the received authentication token (optional).
17631767
timeout (int): Timeout in seconds waiting for the PIN login to succeed (optional).

0 commit comments

Comments
 (0)