Simplify code

This commit is contained in:
croneter 2018-09-16 17:18:46 +02:00
parent c6073e2426
commit dd62cded43

View file

@ -266,8 +266,7 @@ def _sign_in_with_pin():
if not pinlogin.expired: if not pinlogin.expired:
if pinlogin.xml: if pinlogin.xml:
pin_login_window.setLinking() pin_login_window.setLinking()
return pinlogin.xml return pinlogin.xml
return
finally: finally:
pin_login_window.doClose() pin_login_window.doClose()
del pin_login_window del pin_login_window