From a870615553b5ffa59fc463ac1a992cd18f8103f1 Mon Sep 17 00:00:00 2001 From: Krzysztof Jagiello Date: Sat, 4 Jun 2011 23:03:21 +0200 Subject: [PATCH] updated docs --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 371fea5..3dc7a4e 100644 --- a/README.rst +++ b/README.rst @@ -34,7 +34,7 @@ Example showing how to create a channel and sub-channel for it using python-ts3 response = server.send_command('channelcreate', keys={'channel_name': 'Just some channel'}) # id of the newly created channel - channel_id = response.response['keys']['cid'] + channel_id = response.data['keys']['cid'] # create a sub-channel server.send_command('channelcreate', keys={'channel_name': 'Just some sub-channel', 'cpid': channel_id})