mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
GwR revisions
This commit is contained in:
parent
375393997b
commit
9041d2c275
@ -1188,9 +1188,6 @@ class ITUNES(DevicePlugin):
|
|||||||
|
|
||||||
if isosx:
|
if isosx:
|
||||||
for d_book in device_books:
|
for d_book in device_books:
|
||||||
if DEBUG:
|
|
||||||
self.log.info(" evaluating title: '%s' author: '%s'" %
|
|
||||||
(d_book.name(), d_book.artist()))
|
|
||||||
if d_book.name() == title and d_book.artist() == author:
|
if d_book.name() == title and d_book.artist() == author:
|
||||||
if DEBUG:
|
if DEBUG:
|
||||||
self.log.info(' found it')
|
self.log.info(' found it')
|
||||||
@ -1201,10 +1198,6 @@ class ITUNES(DevicePlugin):
|
|||||||
return None
|
return None
|
||||||
elif iswindows:
|
elif iswindows:
|
||||||
for d_book in device_books:
|
for d_book in device_books:
|
||||||
'''
|
|
||||||
if DEBUG:
|
|
||||||
self.log.info(" evaluating title: '%s' author: '%s'" % (d_book.Name, d_book.Artist))
|
|
||||||
'''
|
|
||||||
if d_book.Name == title and d_book.Artist == author:
|
if d_book.Name == title and d_book.Artist == author:
|
||||||
self.log.info(" found it")
|
self.log.info(" found it")
|
||||||
return d_book.Size
|
return d_book.Size
|
||||||
|
Loading…
x
Reference in New Issue
Block a user