Skip to content

Bug with ocr_cpu_arg #12

@R-e-d-J

Description

@R-e-d-J

Following the k2pdfopt doc, there muse be a space between ocr_cpu_arg_name and the %, like this -ocr -nt -50.

So I think there is a minor bug in your code

        # negtive integer means percentage
        ocr_cpu_arg = (
            ocr_cpu_arg_name + '-' +
            strvarOcrCpuPercentage.get().strip()
        )

the third line should be : ocr_cpu_arg_name + ' -' + (with a space before the minus sign).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions