Update parsed2Bibtex

This commit is contained in:
Phyks 2014-05-01 01:36:35 +02:00
parent 4eb2aeb9d8
commit bd8d1c3898
2 changed files with 1 additions and 4 deletions

View File

@ -107,8 +107,6 @@ Here are some sources of inspirations for this project :
A list of ideas and TODO. Don't hesitate to give feedback on the ones you really want or to propose your owns.
10. Refactor
11. Use bibtex-parser lib to write bibtex, instead of parsed2BibTex
20. No DOI for arXiv / HAL
30. Parameter to disable remote search
40. Open file

View File

@ -7,7 +7,6 @@ import tools
import params
from bibtexparser.bparser import BibTexParser
from bibtexparser.customization import homogeneize_latex_encoding
from bibtexparser.bwriter import bibtex as bibTexWriter
def getNewName(src, bibtex):
@ -45,7 +44,7 @@ def parsed2Bibtex(parsed):
for field in [i for i in sorted(parsed) if i not in ['type', 'id']]:
bibtex += "\t"+field+"={"+parsed[field]+"},\n"
bibtex += "}\n"
bibtex += "}\n\n"
return bibtex