Private
Public Access
1
0

w.id to int(w.id)

This commit is contained in:
Sander Roosendaal
2017-02-19 17:02:52 +01:00
parent f74baeca3f
commit 45dcebe82b

View File

@@ -2069,9 +2069,9 @@ def multi_compare_view(request):
yparam = chartform.cleaned_data['yparam'] yparam = chartform.cleaned_data['yparam']
plottype = chartform.cleaned_data['plottype'] plottype = chartform.cleaned_data['plottype']
teamid = chartform.cleaned_data['teamid'] teamid = chartform.cleaned_data['teamid']
ids = [w.id for w in workouts] ids = [int(w.id) for w in workouts]
labeldict = { labeldict = {
w.id: w.__unicode__() for w in workouts int(w.id): w.__unicode__() for w in workouts
} }
res = interactive_multiple_compare_chart(ids,xparam,yparam, res = interactive_multiple_compare_chart(ids,xparam,yparam,