diff --git a/NEWS b/NEWS index 8f028f418..afdb48016 100644 --- a/NEWS +++ b/NEWS @@ -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 diff --git a/beets/ui/commands.py b/beets/ui/commands.py index ed9936f18..9eaca0882 100644 --- a/beets/ui/commands.py +++ b/beets/ui/commands.py @@ -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):