Changeset 6211162 in OpenWorkouts-current for ow/models/workout.py
- Timestamp:
- Oct 13, 2019, 4:45:30 PM (5 years ago)
- Branches:
- current
- Children:
- 8340661
- Parents:
- 93b23a6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ow/models/workout.py
r93b23a6 r6211162 145 145 hashed += str(self.owner.uid) 146 146 hashed += self.start.strftime('%Y%m%d%H%M%S') 147 hashed += str(self.duration.seconds) 148 hashed += str(self.distance) 147 if self.duration is not None: 148 hashed += str(self.duration.seconds) 149 if self.distance is not None: 150 hashed += str(self.distance) 149 151 return hashed 150 152
Note: See TracChangeset
for help on using the changeset viewer.