Changeset 55470f9 in OpenWorkouts-current for ow/views/workout.py


Ignore:
Timestamp:
Feb 8, 2019, 1:41:41 PM (5 years ago)
Author:
Borja Lopez <borja@…>
Branches:
current, feature/docs, master
Children:
6edc367, 78af3d1
Parents:
c9991fed
Message:

Fixed some tests broken during the last code changes.
Fixed a bug in the calculations of the totals for the profile page
(we weren't taking in account possible None values for distance,
duration and specially elevation/uphill)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ow/views/workout.py

    rc9991fed r55470f9  
    128128        return HTTPFound(location=request.resource_url(context))
    129129
    130 
    131130    # round some values before rendering
    132131    if form.data['distance']:
Note: See TracChangeset for help on using the changeset viewer.