diff --git a/recipes/1.Login/persistent_login.py b/recipes/1.Login/persistent_login.py index bbb378b..ecdcdbf 100644 --- a/recipes/1.Login/persistent_login.py +++ b/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()