Merge pull request #500 from geigerzaehler/logger_fix

Use default beets logger
This commit is contained in:
Adrian Sampson 2014-01-20 11:19:36 -08:00
commit 9162267960

View file

@ -1204,9 +1204,9 @@ def move_items(lib, dest, query, copy, album):
action = 'Copying' if copy else 'Moving'
entity = 'album' if album else 'item'
logging.info('%s %i %ss.' % (action, len(objs), entity))
log.info('%s %i %ss.' % (action, len(objs), entity))
for obj in objs:
logging.debug('moving: %s' % obj.path)
log.debug('moving: %s' % obj.path)
obj.move(copy, basedir=dest)
obj.store()