Fix FutureWarning

This commit is contained in:
croneter 2018-12-02 16:02:46 +01:00
parent 89aa7bc1d9
commit 8b3272aa7b

View file

@ -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)