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
3acc4a00af
commit
94ad957635
@ -1514,7 +1514,12 @@ class ITUNES(DevicePlugin):
|
|||||||
'''
|
'''
|
||||||
if isosx:
|
if isosx:
|
||||||
storage_path = os.path.split(cached_book['lib_book'].location().path)
|
storage_path = os.path.split(cached_book['lib_book'].location().path)
|
||||||
presumptive_path = os.path.join(self.iTunes_media,cached_book['author'][0],cached_book['title'],storage_path[1])
|
presumptive_path = os.path.join(self.iTunes_media,
|
||||||
|
'iTunes Music',
|
||||||
|
cached_book['author'][0],
|
||||||
|
cached_book['title'],
|
||||||
|
storage_path[1])
|
||||||
|
|
||||||
if os.path.exists(presumptive_path):
|
if os.path.exists(presumptive_path):
|
||||||
title_storage_path = storage_path[0]
|
title_storage_path = storage_path[0]
|
||||||
if DEBUG:
|
if DEBUG:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user