mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
MOBI Output: Mark single section news downloads as newspapers so that they are automatically archived by the Kindle
This commit is contained in:
commit
8767957773
@ -2030,9 +2030,7 @@ class MobiWriter(object):
|
||||
if (not self._periodicalCount and not self._sectionCount and not self._articleCount) or \
|
||||
not self.opts.mobi_periodical :
|
||||
mobiType = 0x002
|
||||
elif self._periodicalCount and self._sectionCount == 1 :
|
||||
mobiType = 0x102
|
||||
elif self._periodicalCount and self._sectionCount > 1 :
|
||||
elif self._periodicalCount:
|
||||
pt = None
|
||||
if self._oeb.metadata.publication_type:
|
||||
x = unicode(self._oeb.metadata.publication_type[0]).split(':')
|
||||
|
Loading…
x
Reference in New Issue
Block a user