File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
mapswipe_workers/mapswipe_workers Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -205,9 +205,11 @@ def run_archive_project(project_id, project_ids):
205205 return None
206206 elif not project_ids :
207207 project_ids = [project_id ]
208+ click .echo ("Start archive" )
208209 update_data .update_project_data (project_ids )
209210 transfer_results .transfer_results (project_ids )
210- archive_project .archive_project (project_ids )
211+ if archive_project .archive_project (project_ids ):
212+ click .echo ("Finished archive" )
211213
212214
213215@cli .command ("delete" )
@@ -245,7 +247,8 @@ def run_delete_project(project_id, project_ids):
245247
246248 if c == "y" :
247249 click .echo ("Start deletion" )
248- delete_project .delete_project (project_ids )
250+ if delete_project .delete_project (project_ids ):
251+ click .echo ("Finished deletions" )
249252 elif c == "n" :
250253 click .echo ("Abort!" )
251254 else :
You can’t perform that action at this time.
0 commit comments