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


Ignore:
Timestamp:
Jan 25, 2019, 1:49:34 PM (5 years ago)
Author:
Segundo Fdez <segun.2@…>
Branches:
current, feature/docs, master
Children:
1fe89ea
Parents:
4dcf28d (diff), 26220ba (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' into feature/ui

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ow/views/workout.py

    r4dcf28d rd0fc76b  
     1from decimal import Decimal
    12from datetime import datetime, timedelta, time, timezone
    23
     
    121122                                 tzinfo=timezone.utc)
    122123        context.start = start
     124        # ensure distance is a decimal
     125        context.distance = Decimal(context.distance)
    123126        catalog = get_catalog(context)
    124127        reindex_object(catalog, context)
Note: See TracChangeset for help on using the changeset viewer.