mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
...
This commit is contained in:
parent
9a8b9874a4
commit
556f9c844f
@ -47,9 +47,9 @@ class MTP_DEVICE(BASE):
|
|||||||
from calibre.library.save_to_disk import config
|
from calibre.library.save_to_disk import config
|
||||||
self._prefs = p = JSONConfig('mtp_devices')
|
self._prefs = p = JSONConfig('mtp_devices')
|
||||||
p.defaults['format_map'] = self.FORMATS
|
p.defaults['format_map'] = self.FORMATS
|
||||||
p.defaults['send_to'] = ['eBooks/import',
|
p.defaults['send_to'] = ['Books', 'eBooks/import', 'eBooks',
|
||||||
'wordplayer/calibretransfer', 'Books', 'sdcard/ebooks',
|
'wordplayer/calibretransfer', 'sdcard/ebooks',
|
||||||
'eBooks', 'kindle']
|
'kindle']
|
||||||
p.defaults['send_template'] = config().parse().send_template
|
p.defaults['send_template'] = config().parse().send_template
|
||||||
p.defaults['blacklist'] = []
|
p.defaults['blacklist'] = []
|
||||||
p.defaults['history'] = {}
|
p.defaults['history'] = {}
|
||||||
@ -300,7 +300,7 @@ class MTP_DEVICE(BASE):
|
|||||||
p = path
|
p = path
|
||||||
break
|
break
|
||||||
if p is None:
|
if p is None:
|
||||||
p = 'eBooks'
|
p = 'Books'
|
||||||
self.location_paths[loc] = p
|
self.location_paths[loc] = p
|
||||||
|
|
||||||
return self.location_paths[on_card]
|
return self.location_paths[on_card]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user