From 80eaa116a209373a91cf2bd945cdac4daba3d40a Mon Sep 17 00:00:00 2001 From: Sander Roosendaal Date: Mon, 25 Feb 2019 21:25:26 +0100 Subject: [PATCH] some more unicode removed --- rowers/views/analysisviews.py | 4 ++-- rowers/views/planviews.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/rowers/views/analysisviews.py b/rowers/views/analysisviews.py index 2b379e43..566cc758 100644 --- a/rowers/views/analysisviews.py +++ b/rowers/views/analysisviews.py @@ -2410,7 +2410,7 @@ def multiflex_data(request,userid=0, pass labeldict = { - int(w.id): w.__unicode__() for w in workouts + int(w.id): w.__str__() for w in workouts } fieldlist,fielddict = dataprep.getstatsfields() @@ -3025,7 +3025,7 @@ def boxplot_view_data(request,userid=0, pass labeldict = { - int(w.id): w.__unicode__() for w in workouts + int(w.id): w.__str__() for w in workouts } diff --git a/rowers/views/planviews.py b/rowers/views/planviews.py index 764e5d08..d9073371 100644 --- a/rowers/views/planviews.py +++ b/rowers/views/planviews.py @@ -1224,7 +1224,7 @@ def plannedsessions_manage_view(request,userid=0, plannedsessionstuple = [] for ps in sps: - sessiontpl = (ps.id,ps.__unicode__()) + sessiontpl = (ps.id,ps.__str__()) plannedsessionstuple.append(sessiontpl) plannedsessionstuple = tuple(plannedsessionstuple) @@ -1235,7 +1235,7 @@ def plannedsessions_manage_view(request,userid=0, choices = [] for w in ws: - wtpl = (w.id, w.__unicode__()) + wtpl = (w.id, w.__str__()) choices.append(wtpl) if w.id in initialworkouts: workoutdata['initial'].append(w.id)