Fix FutureWarning

This commit is contained in:
croneter 2019-02-02 11:34:16 +01:00
parent b3402fc3d5
commit fb9c560ccd

View file

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