Skip to content

Commit

Permalink
Fix language code flag
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert-Zacchigna committed Jan 2, 2025
1 parent 1935b06 commit d9f8349
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion MKVAudioSubsDefaulter/MKVAudioSubsDefaulter.py
Original file line number Diff line number Diff line change
Expand Up @@ -690,7 +690,7 @@ def cmd_parse_args() -> argparse.Namespace:
)

# Check for valid use of -v/--verbose
if args.verbose and not (args.file or args.library):
if not args.language_codes and (args.verbose and not (args.file or args.library)):
raise parser.error("'-v/--verbose' can only be used with -f/--file or -lib/--library")

return args
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
tqdm==4.66.4 ; python_version >= "3.9" and python_version < "4.0"
tqdm==4.67.0 ; python_version >= "3.9" and python_version < "4.0"

0 comments on commit d9f8349

Please sign in to comment.