correction for None notes everywhere
This commit is contained in:
@@ -228,7 +228,10 @@ def createunderarmourworkoutdata(w):
|
||||
duration += w.duration.second
|
||||
duration += +1.0e-6*w.duration.microsecond
|
||||
name = w.name
|
||||
notes = w.notes+'\n from '+w.workoutsource+' via rowsandall.com'
|
||||
try:
|
||||
notes = w.notes+'\n from '+w.workoutsource+' via rowsandall.com'
|
||||
except TypeError:
|
||||
notes = 'from '+w.workoutsource+' via rowsandall.com'
|
||||
|
||||
# adding diff, trying to see if this is valid
|
||||
#t = row.df.ix[:,'TimeStamp (sec)'].values-10*row.df.ix[0,'TimeStamp (sec)']
|
||||
|
||||
Reference in New Issue
Block a user