fix flake8 errors

This commit is contained in:
Nick Sweeting 2019-02-04 17:52:50 -08:00
parent eeb89ae2cc
commit ae0c20dc76
2 changed files with 3 additions and 1 deletions

View file

@ -84,7 +84,7 @@ def parse_pocket_export(html_file):
'base_url': base_url(fixed_url),
'timestamp': str(datetime.now().timestamp()),
'tags': match.group(3),
'title': match.group(4).replace(' — Readability', '').replace('http://www.readability.com/read?url=', '') or fetch_page_title(url),
'title': match.group(4).replace(' — Readability', '').replace('http://www.readability.com/read?url=', '') or fetch_page_title(fixed_url),
'sources': [html_file.name],
}
info['type'] = get_link_type(info)