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


Ignore:
Timestamp:
Jan 25, 2019, 12:48:51 AM (5 years ago)
Author:
Borja Lopez <borja@…>
Branches:
current, feature/docs, master
Children:
d0fc76b, ed7e9d7
Parents:
c6219ed (diff), 5bdfbfb (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 patches from darcs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ow/views/workout.py

    rc6219ed r26220ba  
     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.