mirror of
https://github.com/ihabunek/twitch-dl
synced 2024-08-30 18:32:25 +00:00
Fix double colon in prompt
This commit is contained in:
parent
446b4f9f91
commit
0d3c3df2f8
@ -251,7 +251,7 @@ def _download_video(video_id: str, args: DownloadOptions) -> None:
|
|||||||
click.echo(f"Output: {blue(target)}")
|
click.echo(f"Output: {blue(target)}")
|
||||||
|
|
||||||
if not args.overwrite and path.exists(target):
|
if not args.overwrite and path.exists(target):
|
||||||
response = click.prompt("File exists. Overwrite? [Y/n]: ", default="Y", show_default=False)
|
response = click.prompt("File exists. Overwrite? [Y/n]", default="Y", show_default=False)
|
||||||
if response.lower().strip() != "y":
|
if response.lower().strip() != "y":
|
||||||
raise click.Abort()
|
raise click.Abort()
|
||||||
args.overwrite = True
|
args.overwrite = True
|
||||||
|
Loading…
Reference in New Issue
Block a user