mirror of
https://github.com/beetbox/beets.git
synced 2026-01-02 14:03:12 +01:00
fix #566: vararg_callback(): consume one less element
This commit is contained in:
parent
8a5a2fcebf
commit
de213c2b96
1 changed files with 1 additions and 1 deletions
|
|
@ -832,7 +832,7 @@ def vararg_callback(option, opt_str, value, parser):
|
|||
break
|
||||
value.append(arg)
|
||||
|
||||
del parser.rargs[:len(value)]
|
||||
del parser.rargs[:len(value)-1]
|
||||
setattr(parser.values, option.dest, value)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue