fix channel separator

This commit is contained in:
Tomas Kopecek 2019-05-21 15:57:20 +02:00 committed by Mike McLean
parent 30d303cab2
commit e75ddc7a36

View file

@ -2816,7 +2816,7 @@ def anon_handle_list_hosts(goptions, session, args):
for host in hosts:
session.listChannels(host['id'])
for host, [channels] in zip(hosts, session.multiCall()):
host['channels'] = ', '.join(sorted([c['name'] for c in channels]))
host['channels'] = ','.join(sorted([c['name'] for c in channels]))
longest_host = max([len(h['name']) for h in hosts])
if not options.quiet: