This commit is contained in:
Croneter 2018-06-15 13:50:04 +02:00
parent 73403a8a7b
commit de846e7241
2 changed files with 2 additions and 3 deletions

View file

@ -121,7 +121,7 @@ class Main():
passwords_xml() passwords_xml()
elif mode == 'switchuser': elif mode == 'switchuser':
entrypoint.switchPlexUser() entrypoint.switch_plex_user()
elif mode in ('manualsync', 'repair'): elif mode in ('manualsync', 'repair'):
if window('plex_online') != 'true': if window('plex_online') != 'true':

View file

@ -180,7 +180,7 @@ def show_main_menu(content_type=None):
xbmcplugin.endOfDirectory(HANDLE) xbmcplugin.endOfDirectory(HANDLE)
def switchPlexUser(): def switch_plex_user():
""" """
Signs out currently logged in user (if applicable). Triggers sign-in of a Signs out currently logged in user (if applicable). Triggers sign-in of a
new user new user
@ -192,7 +192,6 @@ def switchPlexUser():
LOG.info("Plex home user switch requested") LOG.info("Plex home user switch requested")
if not __LogOut(): if not __LogOut():
return return
# First remove playlists of old user # First remove playlists of old user
from utils import delete_playlists, delete_nodes from utils import delete_playlists, delete_nodes
delete_playlists() delete_playlists()