sort of saves files
This commit is contained in:
@@ -2842,12 +2842,13 @@ class Workout(models.Model):
|
||||
boattype = self.boattype
|
||||
workouttype = self.workouttype
|
||||
|
||||
|
||||
if workouttype != 'water':
|
||||
stri = u'{d} {n} {dist}m {duration:%H:%M:%S} {workouttype} {ownerfirst} {ownerlast}'.format(
|
||||
stri = u'{d} {n} {dist}m {duration} {workouttype} {ownerfirst} {ownerlast}'.format(
|
||||
d = date.strftime('%Y-%m-%d'),
|
||||
n = name,
|
||||
dist = distance,
|
||||
duration = duration,
|
||||
duration = duration.strftime("%H:%M:%S"),
|
||||
workouttype = workouttype,
|
||||
ownerfirst = ownerfirst,
|
||||
ownerlast = ownerlast,
|
||||
|
||||
Reference in New Issue
Block a user