Commit cb1e05e5 authored by Bryan  BRANCOTTE's avatar Bryan BRANCOTTE
Browse files

clear all status as images are also removed

parent f9a8b796
......@@ -256,11 +256,7 @@ class Project(BaseModel, abc.ABC):
os.remove(project_hdf_path)
# as a consequence, its creation will have to be redone, so set progress to 0 and remove is status.
self.progress = 0
try:
del self.status['worktable']
except KeyError:
# worktable not in status
pass
self.status.clear()
self.save()
if self.delayed_gen_csv_file:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment