Skip to content

Commit 98d1737

Browse files
author
matthias_schaub
committed
Notify when deletion of projects starts.
1 parent c2f056a commit 98d1737

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

mapswipe_workers/mapswipe_workers/mapswipe_workers.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,12 +239,13 @@ def run_delete_project(project_id, project_ids):
239239
for project_id in project_ids:
240240
click.echo(project_id)
241241
click.echo()
242-
click.echo("Continue with deletion? [yn] ", nl=False)
242+
click.echo("Continue with deletion? [y/n] ", nl=False)
243243
click.echo()
244244
c = click.getchar()
245245

246246
if c == "y":
247-
delete_project.delete_project()
247+
click.echo("Start deletion")
248+
delete_project.delete_project(project_ids)
248249
elif c == "n":
249250
click.echo("Abort!")
250251
else:

0 commit comments

Comments
 (0)