mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 10:44:09 -04:00
Fix #5271 (Periodicals generated by calibre not using kindle back issue archiving)
This commit is contained in:
commit
5e99b00b47
@ -813,6 +813,9 @@ class Device(DeviceConfig, DevicePlugin):
|
|||||||
|
|
||||||
settings = self.settings()
|
settings = self.settings()
|
||||||
template = self.save_template()
|
template = self.save_template()
|
||||||
|
if mdata.tags and _('News') in mdata.tags:
|
||||||
|
today = time.localtime()
|
||||||
|
template = "{title}_%d-%d-%d" % (today[0], today[1], today[2])
|
||||||
use_subdirs = self.SUPPORTS_SUB_DIRS and settings.use_subdirs
|
use_subdirs = self.SUPPORTS_SUB_DIRS and settings.use_subdirs
|
||||||
|
|
||||||
fname = sanitize(fname)
|
fname = sanitize(fname)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user