Skip to content
Snippets Groups Projects
Commit cb1e05e5 authored by Bryan BRANCOTTE's avatar Bryan BRANCOTTE
Browse files

clear all status as images are also removed

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