mirror of
https://github.com/romanz/amodem.git
synced 2026-02-08 02:18:00 +08:00
client: keep the session open (doesn't forget PIN)
This commit is contained in:
@@ -33,9 +33,8 @@ class Client(object):
|
||||
return self
|
||||
|
||||
def __exit__(self, *args):
|
||||
"""Forget PIN, shutdown screen and disconnect."""
|
||||
"""Keep the session open (doesn't forget PIN)."""
|
||||
log.info('disconnected from %s', self.device_name)
|
||||
self.client.clear_session()
|
||||
self.client.close()
|
||||
|
||||
def get_identity(self, label, index=0):
|
||||
|
||||
Reference in New Issue
Block a user