mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
081bb9b3ba
commit
78e350c665
@ -870,7 +870,7 @@ class Device(DeviceConfig, DevicePlugin):
|
|||||||
if special_tag is None:
|
if special_tag is None:
|
||||||
from calibre.library.save_to_disk import get_components
|
from calibre.library.save_to_disk import get_components
|
||||||
extra_components = get_components(template, mdata, fname)
|
extra_components = get_components(template, mdata, fname)
|
||||||
extra_components[-1] = extra_components[-1] = sanitize(self.filename_callback(extra_components[-1]+ext, mdata)))
|
extra_components[-1] = extra_components[-1] = sanitize(self.filename_callback(extra_components[-1]+ext, mdata))
|
||||||
else:
|
else:
|
||||||
tag = special_tag
|
tag = special_tag
|
||||||
if tag.startswith(_('News')):
|
if tag.startswith(_('News')):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user