mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
news: Fix Article.__str__ to print date and TOC thumbnail in the right order.
This commit is contained in:
parent
12e9fb1f34
commit
310721ddc2
@ -89,7 +89,7 @@ Date : %s
|
|||||||
TOC thumb : %s
|
TOC thumb : %s
|
||||||
Has content : %s
|
Has content : %s
|
||||||
'''%(self.title, self.url, self.author, self.summary[:20]+'...',
|
'''%(self.title, self.url, self.author, self.summary[:20]+'...',
|
||||||
self.toc_thumbnail, self.localtime.strftime('%a, %d %b, %Y %H:%M'),
|
self.localtime.strftime('%a, %d %b, %Y %H:%M'), self.toc_thumbnail,
|
||||||
bool(self.content))).encode('utf-8')
|
bool(self.content))).encode('utf-8')
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user