pathmann / pyTSon

pyTSon is a plugin for the TeamSpeak 3 client, it offers a python interface for the plugin sdk
https://pytson.4qt.de
GNU General Public License v3.0
79 stars 12 forks source link

CLIENT_SERVERGROUPS to string? #80

Closed Bluscream closed 6 years ago

Bluscream commented 6 years ago

How would i join CLIENT_SERVERGROUPS back together after getting them with ts3lib.getClientVariable()?

Even

if isinstance(var, list): var = ", ".join(var)

does result in: Client Servergroups: <map object at 0x0000024F8760BAC8>

trying isinstace(var, map) throws grafik

Edit: got it to work with if isinstance(var, map): var = ", ".join(map(str, var))