Private
Public Access
1
0

some more unicode removed

This commit is contained in:
Sander Roosendaal
2019-02-25 21:25:26 +01:00
parent c3e391a4e4
commit 80eaa116a2
2 changed files with 4 additions and 4 deletions

View File

@@ -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
}

View File

@@ -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)