mirror of
https://github.com/beetbox/beets.git
synced 2026-02-11 18:02:10 +01:00
fix a silly UnboundLocalError (#116)
This commit is contained in:
parent
580e4acf10
commit
0f79c0f49e
2 changed files with 4 additions and 3 deletions
1
NEWS
1
NEWS
|
|
@ -28,6 +28,7 @@
|
|||
destination.
|
||||
* When copying read-only files, the importer now tries to make the copy
|
||||
writable. (Previously, this would just crash the import.)
|
||||
* Fixed an UnboundLocalError when no matches are found during autotag.
|
||||
|
||||
1.0b5
|
||||
-----
|
||||
|
|
|
|||
|
|
@ -228,11 +228,11 @@ def choose_match(path, items, cur_artist, cur_album, candidates,
|
|||
'Enter U, S, E, or B:'
|
||||
)
|
||||
if sel == 'u':
|
||||
info = CHOICE_ASIS
|
||||
choice = CHOICE_ASIS
|
||||
elif sel == 'e':
|
||||
info = CHOICE_MANUAL
|
||||
choice = CHOICE_MANUAL
|
||||
elif sel == 's':
|
||||
info = CHOICE_SKIP
|
||||
choice = CHOICE_SKIP
|
||||
elif sel == 'b':
|
||||
raise ImportAbort()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue