mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Merge from custcol trunk
This commit is contained in:
commit
bb62e11d0f
@ -69,9 +69,9 @@ class Economist(BasicNewsRecipe):
|
||||
key = None
|
||||
for tag in soup.findAll(['h1', 'h2']):
|
||||
text = ''.join(tag.findAll(text=True))
|
||||
if tag.name in ('h1', 'h2') and 'Classified ads' in text:
|
||||
break
|
||||
if tag.name == 'h1':
|
||||
if 'Classified ads' in text:
|
||||
break
|
||||
if 'The world this week' in text or 'The world this year' in text:
|
||||
index_started = True
|
||||
if not index_started:
|
||||
|
@ -126,7 +126,6 @@ class Rating(Int):
|
||||
class DateEdit(QDateEdit):
|
||||
|
||||
def focusInEvent(self, x):
|
||||
print 'focus in'
|
||||
self.setSpecialValueText('')
|
||||
|
||||
def focusOutEvent(self, x):
|
||||
|
Loading…
x
Reference in New Issue
Block a user