fix import logger (was logging parent directories, stupidly)

This commit is contained in:
Adrian Sampson 2010-09-16 14:29:23 -07:00
parent fc6f6750f7
commit ff3b1f095f
2 changed files with 2 additions and 1 deletions

1
NEWS
View file

@ -11,6 +11,7 @@
* New event system for plugins (thanks, Jeff!). Plugins can now get
callbacks from beets when certain events occur in the core.
* Fixed bug that completely broke non-autotagged imports ("import -A").
* Fixed bug that logged the wrong paths when using "import -l".
* A new "-v" command line switch enables debugging output.
1.0b4

View file

@ -191,7 +191,7 @@ def tag_log(logfile, status, path):
reflect the reason the album couldn't be tagged.
"""
if logfile:
print >>logfile, status, os.path.dirname(path)
print >>logfile, '%s %s' % (status, path)
def choose_match(path, items, cur_artist, cur_album, candidates,
rec, color=True):