Private
Public Access
1
0

better steps serializer

This commit is contained in:
Sander Roosendaal
2021-03-01 08:19:16 +01:00
parent fa42d313b0
commit dffaacc5a3
4 changed files with 36 additions and 15 deletions

View File

@@ -1281,7 +1281,7 @@ def update_plannedsession(ps,cd):
try:
filename, path_and_filename = handle_uploaded_file(f)
ps.fitfile.name = filename
ps.steps_json = ''
ps.steps = {}
except FileNotFoundError:
pass