From 6108ae2632102a33b1f4d4753832af3ce03ff2b7 Mon Sep 17 00:00:00 2001 From: Karl-Martin Minkner Date: Sat, 30 May 2015 11:19:20 +0200 Subject: [PATCH] Optimized ts3tools - it does now ignore channel with the name "error" in it. Otherwise you wont get the full channel list --- ts3tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts3tools.py b/ts3tools.py index f3abfcb..def3dac 100644 --- a/ts3tools.py +++ b/ts3tools.py @@ -57,7 +57,7 @@ def parse_raw_answer(msg): return new def parse_raw_data(msg, dtype='clid', multiple=True): - data = msg.split("error") + data = msg.split("error id=0 msg=ok") data = data[0].split("|") new = {} for item in data: