remove original uploaded file
This commit is contained in:
@@ -492,6 +492,10 @@ def save_workout_database(f2,r,dosmooth=True,workouttype='rower',
|
||||
|
||||
if dtavg < 1:
|
||||
newdf = df_resample(row.df)
|
||||
try:
|
||||
os.remove(f2)
|
||||
except:
|
||||
pass
|
||||
return new_workout_from_df(r,newdf,
|
||||
title=title)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user