Skip to content

Don't crash app on convert error.#333

Open
ego wants to merge 1 commit intoArtifexSoftware:masterfrom
ego:feature/crash-error
Open

Don't crash app on convert error.#333
ego wants to merge 1 commit intoArtifexSoftware:masterfrom
ego:feature/crash-error

Conversation

@ego
Copy link

@ego ego commented Feb 4, 2025

I have no idea what values we can choose as dummy, but let's doing the job!

File "pdf2docx/common/share.py", line 162, in <listcomp>
    return [int(s[i:i+2], 16) for i in [0, 2, 4]]
            ^^^^^^^^^^^^^^^^^
ValueError: invalid literal for int() with base 16: 'xe'

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.

1 participant