Fix FutureWarning
This commit is contained in:
parent
89aa7bc1d9
commit
8b3272aa7b
1 changed files with 1 additions and 1 deletions
|
@ -222,7 +222,7 @@ def sign_in_with_pin():
|
||||||
xml = bkgrd.result
|
xml = bkgrd.result
|
||||||
del bkgrd
|
del bkgrd
|
||||||
|
|
||||||
if not xml:
|
if xml is None:
|
||||||
return
|
return
|
||||||
user = HomeUser(xml.attrib)
|
user = HomeUser(xml.attrib)
|
||||||
homeuser_to_settings(user)
|
homeuser_to_settings(user)
|
||||||
|
|
Loading…
Reference in a new issue