mirror of
https://github.com/beetbox/beets.git
synced 2026-02-11 09:54:31 +01:00
ask for userinput for editing to finish
This commit is contained in:
parent
d5f8efee3e
commit
004942eef1
1 changed files with 2 additions and 1 deletions
|
|
@ -172,7 +172,8 @@ class EditPlugin(plugins.BeetsPlugin):
|
|||
new.write(old_str)
|
||||
new.close()
|
||||
edit(new.name)
|
||||
|
||||
if not ui.input_yn('Done editing? (y/n)'):
|
||||
return
|
||||
# Read the data back after editing and check whether anything
|
||||
# changed.
|
||||
with open(new.name) as f:
|
||||
|
|
|
|||
Loading…
Reference in a new issue