Skip to content

Commit

Permalink
fix: fix None outdb when file doesn't exist
Browse files Browse the repository at this point in the history
  • Loading branch information
boyd-nguyen committed May 16, 2023
1 parent d5d79fe commit 802ab8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/youte/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,8 @@ def _check_file_overwrite(ctx, param, value: str) -> Path:
"Rerun this command and choose a different filename.", fg="green"
)
raise click.Abort
else:
return value


# CLI argument set up:
Expand Down Expand Up @@ -1031,8 +1033,6 @@ def full_archive(
)
]

click.echo(out_db)

searches = parser.parse_searches(results)

engine = database.set_up_database(out_db)
Expand Down

0 comments on commit 802ab8f

Please sign in to comment.