updated API instructions
This commit is contained in:
@@ -2370,7 +2370,10 @@ class PlannedSession(models.Model):
|
||||
steps = steps_read_fit(settings.MEDIA_ROOT+'/'+self.fitfile.name)
|
||||
self.steps_json = json.dumps(steps)
|
||||
|
||||
super(PlannedSession,self).save(*args, **kwargs)
|
||||
try:
|
||||
super(PlannedSession,self).save(*args, **kwargs)
|
||||
except:
|
||||
pass
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user