news: Fix Article.__str__ to print date and TOC thumbnail in the right order.

This commit is contained in:
Petr Spacek 2014-12-22 23:25:27 +01:00
parent 12e9fb1f34
commit 310721ddc2

View File

@ -89,7 +89,7 @@ Date : %s
TOC thumb : %s
Has content : %s
'''%(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')
def __str__(self):