fixes bug in import all
This commit is contained in:
@@ -769,7 +769,11 @@ def save_workout_database(f2, r, dosmooth=True, workouttype='rower',
|
|||||||
timezone=timezone_str,
|
timezone=timezone_str,
|
||||||
privacy=privacy)
|
privacy=privacy)
|
||||||
|
|
||||||
w.save()
|
try:
|
||||||
|
w.save()
|
||||||
|
except ValidationError:
|
||||||
|
w.startdatetime = timezone.now()
|
||||||
|
w.save()
|
||||||
|
|
||||||
isbreakthrough = False
|
isbreakthrough = False
|
||||||
ishard = False
|
ishard = False
|
||||||
|
|||||||
Reference in New Issue
Block a user