mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 18:24:30 -04:00
Fix #2840 (Cannot change metadata in mobi book generated from txt file)
This commit is contained in:
parent
d73f000a10
commit
ffb1d3d770
@ -148,7 +148,7 @@ class MetadataUpdater(object):
|
|||||||
elif mi.timestamp:
|
elif mi.timestamp:
|
||||||
recs.append((106, str(mi.timestamp).encode(self.codec, 'replace')))
|
recs.append((106, str(mi.timestamp).encode(self.codec, 'replace')))
|
||||||
elif self.timestamp:
|
elif self.timestamp:
|
||||||
recs.append(106, self.timestamp)
|
recs.append((106, self.timestamp))
|
||||||
else:
|
else:
|
||||||
recs.append((106, str(datetime.now()).encode(self.codec, 'replace')))
|
recs.append((106, str(datetime.now()).encode(self.codec, 'replace')))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user