Merge pull request #73 from Arduous/master

radiobrowser.py: remove inadequate print statement.
This commit is contained in:
Micha LaQua 2020-12-03 13:34:38 +01:00 committed by GitHub
commit 1d65195926
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -152,7 +152,6 @@ def get_stations_by_votes(limit=DEFAULT_STATION_LIMIT):
stations = [] stations = []
stations_json = request('stations?order=votes&reverse=true&limit=' + str(limit)) stations_json = request('stations?order=votes&reverse=true&limit=' + str(limit))
for station_json in stations_json: for station_json in stations_json:
print(station_json)
if SHOW_BROKEN_STATIONS or get_json_attr(station_json, 'lastcheckok') == 1: if SHOW_BROKEN_STATIONS or get_json_attr(station_json, 'lastcheckok') == 1:
stations.append(Station(station_json)) stations.append(Station(station_json))
return stations return stations