mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-26 04:43:07 +02:00
Fix #2840 (Cannot change metadata in mobi book generated from txt file)
This commit is contained in:
parent
d73f000a10
commit
ffb1d3d770
1 changed files with 1 additions and 1 deletions
|
|
@ -148,7 +148,7 @@ def update(self, mi):
|
|||
elif mi.timestamp:
|
||||
recs.append((106, str(mi.timestamp).encode(self.codec, 'replace')))
|
||||
elif self.timestamp:
|
||||
recs.append(106, self.timestamp)
|
||||
recs.append((106, self.timestamp))
|
||||
else:
|
||||
recs.append((106, str(datetime.now()).encode(self.codec, 'replace')))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue