diff --git a/default.py b/default.py index ff97ea10..0d697618 100644 --- a/default.py +++ b/default.py @@ -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': diff --git a/resources/lib/entrypoint.py b/resources/lib/entrypoint.py index cd5b7ec3..d34d593c 100644 --- a/resources/lib/entrypoint.py +++ b/resources/lib/entrypoint.py @@ -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()