Skip to content

Commit

Permalink
cleanup todo
Browse files Browse the repository at this point in the history
  • Loading branch information
philipkcl committed Aug 21, 2023
1 parent a75ec6f commit 3575530
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions portality/tasks/helpers/articles_upload_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,6 @@ def upload_process(articles_upload: BaseArticlesUpload,
articles = []
try:
articles = articles_factory(articles_path)

# KTODO should that only for FileUpload?
for article in articles:
article.set_upload_id(articles_upload.id) # KTODO how to handle this for BulkArticles?

account = models.Account.pull(articles_upload.owner)
result = DOAJ.articleService().batch_create_articles(articles, account, add_journal_info=True)
except (IngestException, CrosswalkException) as e:
Expand Down

0 comments on commit 3575530

Please sign in to comment.