route/freqs/ tweak0.2

This commit is contained in:
Johnson Chetty 2012-09-22 09:21:14 +02:00
parent 2ff27c5e3f
commit 3ff07f1acc

View File

@ -292,7 +292,7 @@ def route_headway(request, code):
return render_to_json_response(
{
'route': route.get_dict(),
'frequency': str(min(frequencies)) + "-" + str(max(frequencies)) if min(frequencies)!=max(frequencies) else max(frequencies)
'frequency': str(min(frequencies)) + "-" + str(max(frequencies)) if min(frequencies)!=max(frequencies) else str(max(frequencies))
#'scheds': [ (s.headway1, s.headway2, s.headway3, s.headway4, str(s.unique_route) ) for s in scheds]
})