This commit is contained in:
elpatron68 2019-07-27 21:41:16 +02:00
parent e9a46a14f8
commit 37a1805153

View File

@ -375,7 +375,7 @@ class MumbleBot:
msg = var.config.get('strings', 'rbqueryresult') + " :" msg = var.config.get('strings', 'rbqueryresult') + " :"
msg += '\n<table><tr><th>ID</th><th>Station Name</th></tr>' msg += '\n<table><tr><th>ID</th><th>Station Name</th></tr>'
if not rb_stations: if not rb_stations:
self.send_msg('No results for ' + parameter, text) self.send_msg('Radio-Browser found no matches for ' + parameter, text)
else: else:
for s in rb_stations: for s in rb_stations:
msg += '<tr><td>' + s['id'] + '</td><td>' + s['stationname'] + '</td></tr>' msg += '<tr><td>' + s['id'] + '</td><td>' + s['stationname'] + '</td></tr>'