mirror of
https://github.com/beetbox/beets.git
synced 2025-12-30 20:42:37 +01:00
Edit invalid config with beet config --edit
This commit is contained in:
parent
a5f097a883
commit
267aec977f
1 changed files with 1 additions and 1 deletions
|
|
@ -923,7 +923,7 @@ def _raw_main(args, lib=None):
|
|||
|
||||
# Bypass _setup so that an invalid configuration does not prevent
|
||||
# the editor from starting.
|
||||
if subargs[0] == 'config' and '-e' in subargs:
|
||||
if subargs[0] == 'config' and ('-e' in subargs or '--edit' in subargs):
|
||||
from beets.ui.commands import config_edit
|
||||
return config_edit()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue