added PowerLessThan and PowerGreaterThan
This commit is contained in:
@@ -1912,8 +1912,11 @@ def plannedsession_view(request,id=0,userid=0):
|
||||
r = getrequestplanrower(request,userid=userid)
|
||||
|
||||
ps = get_object_or_404(PlannedSession,pk=id)
|
||||
jsons = json.loads(ps.steps_json)
|
||||
|
||||
if ps.steps_json is not None:
|
||||
jsons = json.loads(ps.steps_json)
|
||||
else:
|
||||
jsons = {}
|
||||
|
||||
|
||||
try:
|
||||
r = VirtualRace.objects.get(id=ps.id)
|
||||
|
||||
Reference in New Issue
Block a user