Skip to content
Snippets Groups Projects
Commit b9694826 authored by tuhe's avatar tuhe
Browse files

Minor bug

parent 4e54dfb1
No related branches found
No related tags found
No related merge requests found
...@@ -704,7 +704,7 @@ def gather_instructor_sheets(info): ...@@ -704,7 +704,7 @@ def gather_instructor_sheets(info):
# import shutil # import shutil
import subprocess import subprocess
cmd = f'cd {os.path.basename(out)} && libreoffice --calc --headless --invisible --convert-to xlsx --outdir ../ {os.path.basename(out)}' cmd = f'cd {os.path.dirname(out)} && libreoffice --calc --headless --invisible --convert-to xlsx --outdir ../ {os.path.basename(out)}'
output = subprocess.run(cmd, capture_output=True, shell=True) output = subprocess.run(cmd, capture_output=True, shell=True)
time.sleep(3) time.sleep(3)
od = os.path.dirname(os.path.dirname(out)) + "/" + os.path.basename(out) od = os.path.dirname(os.path.dirname(out)) + "/" + os.path.basename(out)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment