# HG changeset patch # User Henry S. Thompson # Date 1582108919 0 # Node ID a28d731977dabd73e1fa4dde92d28d78148fd72c # Parent 462179da7dc2b65b5c25dffc96d7699d7cd7f6bd# Parent cbd13beb09223646a0421b8408e0b22664e8f05d merge diff -r cbd13beb0922 -r a28d731977da bin/plinks.py --- a/bin/plinks.py Tue Feb 18 22:41:08 2020 +0000 +++ b/bin/plinks.py Wed Feb 19 10:41:59 2020 +0000 @@ -13,7 +13,8 @@ (fno,f)=l.rstrip().split() try: links=run(f) - if links: + if bool(links) and (links.get('scrape',False) or + links.get('annot',False)): with open('/dev/shm/x/links_%s'%fno,'w') as of: for k in links.keys(): for l in links[k]: