From 717aba3890c1695b91d839757e64d9bfda9c7a48 Mon Sep 17 00:00:00 2001 From: Sander Roosendaal Date: Thu, 8 Jun 2017 14:59:58 +0200 Subject: [PATCH] bugfix --- rowers/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rowers/views.py b/rowers/views.py index 0c5ae939..7adcad14 100644 --- a/rowers/views.py +++ b/rowers/views.py @@ -2883,7 +2883,7 @@ def otwrankings_view(request,theuser=0, # get all power data from database (plus workoutid) - theids = [w.id for w in theworkouts] + theids = [int(w.id) for w in theworkouts] columns = ['power','workoutid','time'] df = dataprep.getsmallrowdata_db(columns,ids=theids)