Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: shell path error #347

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

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

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