mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-31 14:33:54 -04:00
pep8
This commit is contained in:
parent
ea7711f6c6
commit
48ed5c63f5
@ -32,7 +32,7 @@ class ancientegypt(BasicNewsRecipe):
|
||||
|
||||
keep_only_tags = [
|
||||
dict(attrs={'class': lambda x: x and any(tag in x for tag in [
|
||||
'__image', '__header', '__background',
|
||||
'__image', '__header', '__background',
|
||||
'__body_area', '__author__text', '__date'
|
||||
])})
|
||||
]
|
||||
|
@ -31,7 +31,7 @@ class milthist(BasicNewsRecipe):
|
||||
|
||||
keep_only_tags = [
|
||||
dict(attrs={'class': lambda x: x and any(tag in x for tag in [
|
||||
'__image', '__header', '__background',
|
||||
'__image', '__header', '__background',
|
||||
'__body_area', '__author__text', '__date'
|
||||
])})
|
||||
]
|
||||
|
@ -31,7 +31,7 @@ class minerva(BasicNewsRecipe):
|
||||
|
||||
keep_only_tags = [
|
||||
dict(attrs={'class': lambda x: x and any(tag in x for tag in [
|
||||
'__image', '__header', '__background',
|
||||
'__image', '__header', '__background',
|
||||
'__body_area', '__author__text', '__date'
|
||||
])})
|
||||
]
|
||||
|
@ -33,7 +33,7 @@ class worldarch(BasicNewsRecipe):
|
||||
|
||||
keep_only_tags = [
|
||||
dict(attrs={'class': lambda x: x and any(tag in x for tag in [
|
||||
'__image', '__header', '__background',
|
||||
'__image', '__header', '__background',
|
||||
'__body_area', '__author__text', '__date'
|
||||
])})
|
||||
]
|
||||
|
@ -1386,6 +1386,7 @@ The following shows what is returned for various parameters:
|
||||
else:
|
||||
return _("No book formats found so the path can't be generated")
|
||||
|
||||
|
||||
class BuiltinHumanReadable(BuiltinFormatterFunction):
|
||||
name = 'human_readable'
|
||||
arg_count = 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user