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.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/fatcat_scholar/schema.py b/fatcat_scholar/schema.py
index 131cf74..b5a4749 100644
--- a/fatcat_scholar/schema.py
+++ b/fatcat_scholar/schema.py
@@ -114,11 +114,11 @@ class ScholarBiblio(BaseModel):
"""
if style == "bibtex":
type_map = {
- 'article-journal': 'article',
- 'conference-paper': 'proceedings',
- 'thesis': 'phdthesis',
- 'book': 'book',
- None: 'unpublished',
+ "article-journal": "article",
+ "conference-paper": "proceedings",
+ "thesis": "phdthesis",
+ "book": "book",
+ None: "unpublished",
}
val = f"@{type_map.get(self.release_type, 'unpublished')}{{{self.release_ident},\n"
val += f" title = {{{self.title}}}\n"
@@ -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: