Skip to content

代码中output_file_path不正确 #1

@JetChan95

Description

@JetChan95

在您的代码中 output_file_path = output_folder + input_file_path, 错误的输出路径导致ghostscript无法正确运行,并抛出错误Could not open file (output_file_path).

fix:
file_name = input_file_path.split("\")[-1]
output_file_path = "{}\{}".format(output_folder, file_name)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions