From dd62cded431a3f668fe800f2b0d732f4b5d0e618 Mon Sep 17 00:00:00 2001 From: croneter Date: Sun, 16 Sep 2018 17:18:46 +0200 Subject: [PATCH] Simplify code --- resources/lib/plex_tv.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/resources/lib/plex_tv.py b/resources/lib/plex_tv.py index 87b0b682..e93de94a 100644 --- a/resources/lib/plex_tv.py +++ b/resources/lib/plex_tv.py @@ -266,8 +266,7 @@ def _sign_in_with_pin(): if not pinlogin.expired: if pinlogin.xml: pin_login_window.setLinking() - return pinlogin.xml - return + return pinlogin.xml finally: pin_login_window.doClose() del pin_login_window