Fix KeyError: 'name'

This commit is contained in:
elpatron68 2019-07-28 10:19:29 +02:00
parent 542a754756
commit c3a6f848a5

View File

@ -380,7 +380,7 @@ class MumbleBot:
else: else:
for s in rb_stations: for s in rb_stations:
stationid = s['id'] stationid = s['id']
stationname = s['name'] stationname = s['stationname']
country = s['country'] country = s['country']
codec = s['codec'] codec = s['codec']
bitrate = s['bitrate'] bitrate = s['bitrate']