Skip to content

Commit

Permalink
move the user message behind the actual drop command. (#3164)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaegeral authored Aug 22, 2024
1 parent 809ad2d commit 263c0be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion timesketch/tsctl.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,8 @@ def drop_db():
if click.confirm(
"Are you REALLLY sure you want to DROP ALL the database tables?"
):
print("All tables dropped. Database is now empty.")
drop_all()
print("All tables dropped. Database is now empty.")


@cli.command(name="list-sketches")
Expand Down

0 comments on commit 263c0be

Please sign in to comment.