fix lgtm errors

This commit is contained in:
Nick Sweeting 2021-01-30 06:07:35 -05:00
parent cc80ceb0a2
commit d6de04a83a
5 changed files with 7 additions and 6 deletions

View file

@ -45,7 +45,7 @@ def parse_wallabag_atom_export(rss_file: IO[str], **_kwargs) -> Iterable[Link]:
time = datetime.strptime(ts_str, "%Y-%m-%dT%H:%M:%S%z")
try:
tags = str_between(get_row('category'), 'label="', '" />')
except:
except Exception:
tags = None
yield Link(