From 562a015f6f12b178f8479633c02dc551ae111f7a Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 18 Sep 2012 23:00:07 +0530 Subject: [PATCH] ... --- src/calibre/gui2/device.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/calibre/gui2/device.py b/src/calibre/gui2/device.py index e092f819c6..2db118c8e5 100644 --- a/src/calibre/gui2/device.py +++ b/src/calibre/gui2/device.py @@ -1673,10 +1673,7 @@ class DeviceMixin(object): # {{{ if update_metadata: mi = db.get_metadata(id_, index_is_id=True, get_cover=get_covers) - book.smart_update(db.get_metadata(id_, - index_is_id=True, - get_cover=get_covers), - replace_metadata=True) + book.smart_update(mi, replace_metadata=True) book.in_library = 'UUID' # ensure that the correct application_id is set book.application_id = id_