Spaces:
Running
Running
user commited on
Commit ·
3fa1043
1
Parent(s): 41d4033
Fix Bug
Browse files5 unmodified lines67891011121314155 unmodified linesinput_path = markdown_file.nameoutput_path = os.path.splitext(input_path)[0] + ".pptx"command = f"pandoc {input_path} -o {output_path}"if template_file is not None:template_path = template_file.namecommand += f" --reference-doc={template_path}"try:subprocess.run(command, shell=True, check=True)5 unmodified lines67891011121314155 unmodified linesinput_path = markdown_file.nameoutput_path = os.path.splitext(input_path)[0] + ".pptx"command = f"pandoc '{input_path}' -o '{output_path}'"if template_file is not None:template_path = template_file.namecommand += f" --reference-doc='{template_path}'"try:subprocess.run(command, shell=True, check=True)
main.py+2-2