Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -174,7 +174,7 @@ class Reference(object):
|
|
| 174 |
def bibtex(self):
|
| 175 |
"""BibTex string of the reference."""
|
| 176 |
|
| 177 |
-
self.new_id = self.authors[0].split(' ')[1].lower()+self.year+self.title.split(' ')[0].lower()
|
| 178 |
|
| 179 |
lines = ["@article{" + self.new_id]
|
| 180 |
for k, v in [("Author", " and ".join(self.authors)),
|
|
|
|
| 174 |
def bibtex(self):
|
| 175 |
"""BibTex string of the reference."""
|
| 176 |
|
| 177 |
+
self.new_id = self.authors[0].split(' ')[-1].lower()+self.year+self.title.split(' ')[0].lower()
|
| 178 |
|
| 179 |
lines = ["@article{" + self.new_id]
|
| 180 |
for k, v in [("Author", " and ".join(self.authors)),
|