From fb9c560ccd5ddc0611e4410a4777b0b00535330a Mon Sep 17 00:00:00 2001 From: croneter Date: Sat, 2 Feb 2019 11:34:16 +0100 Subject: [PATCH] Fix FutureWarning --- resources/lib/plex_tv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/plex_tv.py b/resources/lib/plex_tv.py index 3cb35d77..c6712b4f 100644 --- a/resources/lib/plex_tv.py +++ b/resources/lib/plex_tv.py @@ -264,7 +264,7 @@ def _sign_in_with_pin(): return app.APP.monitor.waitForAbort(0.1) if not pinlogin.expired: - if pinlogin.xml: + if pinlogin.xml is not None: pin_login_window.setLinking() return pinlogin.xml finally: