Skip to content

Commit

Permalink
Merge pull request #852 from gitnnolabs/fix_metadata_aoi
Browse files Browse the repository at this point in the history
Garante não levantar exceção para artigos sem referencia de periódico.
  • Loading branch information
gitnnolabs authored Aug 23, 2024
2 parents 9e28a45 + 70a5745 commit 41a0cf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion article/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ def source(self):
Return the format: Acta Cirúrgica Brasileira, Volume: 37, Issue: 7, Article number: e370704, Published: 10 OCT 2022
"""
leg_dict = {
"title": self.journal.title,
"title": self.journal.title if self.journal else "",
"pubdate": str(self.pub_date_year),
"volume": self.issue.volume if self.issue else "",
"number": self.issue.number if self.issue else "",
Expand Down

0 comments on commit 41a0cf7

Please sign in to comment.