Browse Source

tweak persistent_login recipe to not reconnect on exit

pull/51/head
Rossen Georgiev 9 years ago
parent
commit
502ce49f69
  1. 1
      recipes/1.Login/persistent_login.py

1
recipes/1.Login/persistent_login.py

@ -80,5 +80,6 @@ try:
client.run_forever()
except KeyboardInterrupt:
if client.connected:
logged_on_once = False
LOG.info("Logout")
client.logout()

Loading…
Cancel
Save