Skip to content

Conversation

@CplusHua
Copy link

文件名中包含[时,如: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

修复:将[改为[[

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
@JessicaTegner
Copy link
Owner

It's not obvious what this pr actually does

@JessicaTegner JessicaTegner force-pushed the master branch 2 times, most recently from 06c6f0a to 35035f6 Compare November 13, 2025 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants