PEP8
This commit is contained in:
parent
73403a8a7b
commit
de846e7241
2 changed files with 2 additions and 3 deletions
|
@ -121,7 +121,7 @@ class Main():
|
|||
passwords_xml()
|
||||
|
||||
elif mode == 'switchuser':
|
||||
entrypoint.switchPlexUser()
|
||||
entrypoint.switch_plex_user()
|
||||
|
||||
elif mode in ('manualsync', 'repair'):
|
||||
if window('plex_online') != 'true':
|
||||
|
|
|
@ -180,7 +180,7 @@ def show_main_menu(content_type=None):
|
|||
xbmcplugin.endOfDirectory(HANDLE)
|
||||
|
||||
|
||||
def switchPlexUser():
|
||||
def switch_plex_user():
|
||||
"""
|
||||
Signs out currently logged in user (if applicable). Triggers sign-in of a
|
||||
new user
|
||||
|
@ -192,7 +192,6 @@ def switchPlexUser():
|
|||
LOG.info("Plex home user switch requested")
|
||||
if not __LogOut():
|
||||
return
|
||||
|
||||
# First remove playlists of old user
|
||||
from utils import delete_playlists, delete_nodes
|
||||
delete_playlists()
|
||||
|
|
Loading…
Reference in a new issue