diff options
Diffstat (limited to 'README.markdown')
-rw-r--r-- | README.markdown | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/README.markdown b/README.markdown index 1d4d9da..32c87b6 100644 --- a/README.markdown +++ b/README.markdown @@ -20,9 +20,9 @@ usage. ['/tmp/alpine.cfg'] >>> with pylibchorus.ChorusSession(config) as session: ... print(session.sid) - ... ok, sid = pylibchorus.check_login_status(session) + ... ok, json = pylibchorus.get('/sessions', session) ... print(ok) - ... print(sid) + ... print(json['response']['session_id']) ... 49fb8e27e591d9ccb6f0006334eedb8e4d8004a5 200 |