aboutsummaryrefslogtreecommitdiffstats
path: root/fatcat_scholar/schema.py
diff options
context:
space:
mode:
Diffstat (limited to 'fatcat_scholar/schema.py')
-rw-r--r--fatcat_scholar/schema.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/fatcat_scholar/schema.py b/fatcat_scholar/schema.py
index 2f0f04e..5ac3aab 100644
--- a/fatcat_scholar/schema.py
+++ b/fatcat_scholar/schema.py
@@ -142,7 +142,7 @@ class ScholarBiblio(BaseModel):
val = ", ".join(self.contrib_names)
if val:
val += ". "
- val += f' "self.title." '
+ val += f' "{self.title}." '
if self.container_name:
val += self.container_name
if self.volume and self.issue:
@@ -152,6 +152,7 @@ class ScholarBiblio(BaseModel):
if self.pages:
val += f": {self.pages}"
return val
+ return None
class ScholarFulltext(BaseModel):