This commit is contained in:
Kovid Goyal 2011-11-12 08:30:44 +05:30
parent e0a86fcc38
commit 9090c57a3e
2 changed files with 106 additions and 107 deletions

View File

@ -1,9 +1,8 @@
# adapted from old recipe by Darko Miletic <darko.miletic at gmail.com>
import string, re
from calibre import strftime
import re
from calibre.web.feeds.recipes import BasicNewsRecipe
from calibre.ebooks.BeautifulSoup import BeautifulSoup, Tag, NavigableString
from calibre.ebooks.BeautifulSoup import Tag, NavigableString
class TheIndependentNew(BasicNewsRecipe):

View File

@ -112,7 +112,7 @@ class DateDelegate(QStyledItemDelegate): # {{{
self.tweak_name = tweak_name
self.format = tweaks[self.tweak_name]
if self.format is None:
format = default_format
self.format = default_format
def displayText(self, val, locale):
d = val.toDateTime()