Fix bug #8379: LyX Archive fails to include BibTeX files

This commit is contained in:
Enrico Forestieri 2012-10-20 18:27:35 +02:00
parent 1822a10639
commit f6fde4b553

View File

@ -160,7 +160,7 @@ def gather_files(curfile, incfiles, lyx2lyx):
j = 0
while j < len(bibfiles):
if os.path.isabs(bibfiles[j]):
file = bibfiles[j]
file = bibfiles[j] + '.bib'
else:
file = os.path.join(curdir, bibfiles[j] + '.bib')
if os.path.exists(file):