Skip to content

Commit 97333f6

Browse files
committed
cleaned jobs
1 parent 0162b13 commit 97333f6

File tree

5 files changed

+564
-591
lines changed

5 files changed

+564
-591
lines changed

cvscan/annotations_parser.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ def fetch_pdf_urls(file_name):
4444
for link_object in link_object_list:
4545
if type(link_object) is not dict:
4646
link_object = link_object.resolve()
47-
links.append(link_object['A']['URI'])
47+
if link_object['A']['URI']:
48+
links.append(link_object['A']['URI'])
4849
file_pointer.close()
4950
return links
5051

0 commit comments

Comments
 (0)