From c0f08524a9c85e0cb79244a798cccba881d93c94 Mon Sep 17 00:00:00 2001 From: GRiker Date: Sun, 2 Sep 2012 08:46:58 -0600 Subject: [PATCH] iTunes author_sort fix wip --- src/calibre/devices/apple/driver.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/calibre/devices/apple/driver.py b/src/calibre/devices/apple/driver.py index aa17602942..90e5416d3c 100644 --- a/src/calibre/devices/apple/driver.py +++ b/src/calibre/devices/apple/driver.py @@ -1647,8 +1647,9 @@ class ITUNES(DriverBase): if isosx: fs = '{!s}{:<%d} {:<%d} {:<%d} {:<10} {!s}' % (len(lt), len(la), len(las)) - logger().info(fs.format(book.title, book.author, book.author_sort, - str(book.library_id)[-9:], book.uuid)) + logger().info(fs.format(' '*indent, book.title, book.author, + book.author_sort, str(book.library_id)[-9:], + book.uuid)) #logger().info("%s%-40.40s %-30.30s %-10.10s %s" % # (' '*indent,book.title, book.author, str(book.library_id)[-9:], book.uuid)) elif iswindows: