fix pinboard RSS parser

This commit is contained in:
Nick Sweeting 2019-03-19 18:44:22 -04:00
parent 61ec4971e9
commit f9a7c530b9
2 changed files with 5 additions and 5 deletions

View file

@ -413,7 +413,7 @@ def derived_link_info(link):
'is_archived': os.path.exists(os.path.join(
ARCHIVE_DIR,
link['timestamp'],
wget_output_path(link) or domain(url)
domain(url),
)),
'num_outputs': len([entry for entry in link['latest'].values() if entry]) if 'latest' in link else 0,
}