Skip to content
Snippets Groups Projects
Commit 39b8049d authored by Nicolas Barthes's avatar Nicolas Barthes
Browse files

modified report/report.py to run on all OS

parent 2534a26a
No related branches found
No related tags found
No related merge requests found
...@@ -440,10 +440,10 @@ def generate_report(change): ...@@ -440,10 +440,10 @@ def generate_report(change):
for i in range(4): for i in range(4):
print(i) print(i)
if i == 1: if i == 1:
proc = subprocess.Popen([pdflatex_path / 'bibtex.exe', filename[:-4]], cwd = filename_path) proc = subprocess.Popen([pdflatex_path / 'bibtex', filename[:-4]], cwd = filename_path)
proc.communicate() proc.communicate()
else: else:
proc = subprocess.Popen([pdflatex_path / 'pdflatex.exe', filename], cwd = filename_path) proc = subprocess.Popen([pdflatex_path / 'pdflatex', filename], cwd = filename_path)
proc.communicate() proc.communicate()
# remove pdflatex compilation files # remove pdflatex compilation files
extensions = ['.log', '.aux', '.bbl', '.blg', '.out'] extensions = ['.log', '.aux', '.bbl', '.blg', '.out']
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment