Skip to content

Commit fa83cd2

Browse files
committed
uninstall - enforcing -y option
1 parent b24c102 commit fa83cd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ffmpeg_downloader/__main__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ def uninstall(args):
233233
print(" Would remove:")
234234
print(f" {os.path.join(ffdl.get_dir(),'ffmpeg','*')}")
235235

236-
if input(f"Proceed (Y/n)?: ").lower() not in ("y", "yes", ""):
236+
if not args.y and input(f"Proceed (Y/n)?: ").lower() not in ("y", "yes", ""):
237237
# aborted by user
238238
return
239239

0 commit comments

Comments
 (0)