mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-31 14:33:54 -04:00
pep8
This commit is contained in:
parent
5889505d92
commit
f2043877ac
@ -173,8 +173,9 @@ class NoArticles(Exception):
|
||||
|
||||
|
||||
def get_content(url_):
|
||||
from calibre import browser
|
||||
from mechanize import Request
|
||||
|
||||
from calibre import browser
|
||||
headers = {
|
||||
'User-Agent': 'TheEconomist-Liskov-android',
|
||||
'accept': 'multipart/mixed; deferSpec=20220824, application/json',
|
||||
|
@ -98,7 +98,7 @@ def create_tag_class(category, fm):
|
||||
|
||||
if (
|
||||
(
|
||||
( category == 'authors' or
|
||||
(category == 'authors' or
|
||||
(cat['display'].get('is_names', False) and
|
||||
cat['is_custom'] and cat['is_multiple'] and
|
||||
dt == 'text')
|
||||
|
Loading…
x
Reference in New Issue
Block a user