various fixes

This commit is contained in:
bkfox
2017-08-30 18:30:19 +02:00
parent 4525e4952b
commit d470ca39e6
4 changed files with 35 additions and 8 deletions

View File

@ -44,7 +44,7 @@ def on_air(request):
# FIXME: by name???
station = stations.stations.filter(name = station)
if not station.count():
return HttpResponse('')
return HttpResponse('{}')
else:
station = stations.stations