From aace31619f64606d2c37b66bfe2984cc65d04ced Mon Sep 17 00:00:00 2001 From: Charles Haley <> Date: Wed, 26 Oct 2011 09:09:14 +0200 Subject: [PATCH] Remove superfluous book_on_device calls --- src/calibre/gui2/device.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/calibre/gui2/device.py b/src/calibre/gui2/device.py index 3c05805782..09e93a4577 100644 --- a/src/calibre/gui2/device.py +++ b/src/calibre/gui2/device.py @@ -889,7 +889,6 @@ class DeviceMixin(object): # {{{ # if set_books_in_library did not. if not self.set_books_in_library(self.booklists(), reset=True, add_as_step_to_job=job): self.upload_booklists(job) - self.book_on_device(None, reset=True) # We need to reset the ondevice flags in the library. Use a big hammer, # so we don't need to worry about whether some succeeded or not. self.refresh_ondevice(reset_only=False) @@ -1321,7 +1320,6 @@ class DeviceMixin(object): # {{{ if not self.set_books_in_library(self.booklists(), reset=True, add_as_step_to_job=job): self.upload_booklists(job) with self.library_view.preserve_state(): - self.book_on_device(None, reset=True) self.refresh_ondevice() view = self.card_a_view if on_card == 'carda' else \