Skip to content

Commit

Permalink
Optimized ts3tools - it does now ignore channel with the name "error"…
Browse files Browse the repository at this point in the history
… in it. Otherwise you wont get the full channel list
  • Loading branch information
derkalle4 committed May 30, 2015
1 parent 90e0d94 commit 6108ae2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ts3tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 6108ae2

Please sign in to comment.