pypandoc icon indicating copy to clipboard operation
pypandoc copied to clipboard

fix: shell path error

Open CplusHua opened this issue 2 years ago • 1 comments

文件名中包含[时,如:XXX[123].XXX.docx,在MacOS中执行报错如下: python3.10/site-packages/pypandoc/init.py", line 164, in convert_file format = _identify_format_from_path(discovered_source_files[0], format) IndexError: list index out of range

修复:将[改为[[

CplusHua avatar Oct 14 '23 12:10 CplusHua

It's not obvious what this pr actually does

JessicaTegner avatar Oct 15 '23 03:10 JessicaTegner