From dafad3e340bde162c09ce2c7f4db71f6de37e56c Mon Sep 17 00:00:00 2001 From: laggykiller Date: Sun, 24 Mar 2024 12:02:24 +0800 Subject: [PATCH] Improve typing --- src/rlottie_python/rlottie_wrapper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rlottie_python/rlottie_wrapper.py b/src/rlottie_python/rlottie_wrapper.py index ca400c3..a71972a 100755 --- a/src/rlottie_python/rlottie_wrapper.py +++ b/src/rlottie_python/rlottie_wrapper.py @@ -32,7 +32,7 @@ def _load_lib_with_prefix_suffix( try: return ctypes.cdll.LoadLibrary(rlottie_lib_path) except OSError: - return + return None def _load_lib(rlottie_lib_path: Optional[str] = None) -> Optional[ctypes.CDLL]: