From 8b3272aa7b6ea760ea86e0cc5468e087f49c854d Mon Sep 17 00:00:00 2001 From: croneter Date: Sun, 2 Dec 2018 16:02:46 +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 2ceffbe1..606076ea 100644 --- a/resources/lib/plex_tv.py +++ b/resources/lib/plex_tv.py @@ -222,7 +222,7 @@ def sign_in_with_pin(): xml = bkgrd.result del bkgrd - if not xml: + if xml is None: return user = HomeUser(xml.attrib) homeuser_to_settings(user)