We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b98d53 commit a0ca592Copy full SHA for a0ca592
src/c2pa/c2pa.py
@@ -490,7 +490,7 @@ def _convert_to_py_string(value) -> str:
490
491
def _parse_operation_result_for_error(
492
result: ctypes.c_void_p | None,
493
- check_error: bool = True) -> str | None:
+ check_error: bool = True) -> Optional[str]:
494
"""Helper function to handle string results from C2PA functions."""
495
if not result: # pragma: no cover
496
if check_error:
0 commit comments