diff --git a/apps/resm/tasks.py b/apps/resm/tasks.py index 8dfbdea..ca04b35 100644 --- a/apps/resm/tasks.py +++ b/apps/resm/tasks.py @@ -337,6 +337,7 @@ def download_pdf(paper_id): # current_from = "openalex" # msg = save_pdf_from_openalex(paper) if paper.has_fulltext_pdf is False and paper.publication_year <= 2021: + current_from = "scihub" msg = save_pdf_from_scihub(paper) return msg, current_from finally: