Skip to content

Commit

Permalink
Fix isinstance check
Browse files Browse the repository at this point in the history
  • Loading branch information
laggykiller committed Mar 1, 2024
1 parent 9ca3efe commit 477df3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rlottie_python/rlottie_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def _load_lib(self, rlottie_lib_path: Optional[str] = None):

lib_suffixes: "list[str]" = []
shlib_suffix = sysconfig.get_config_var("SHLIB_SUFFIX")
if isinstance(str, shlib_suffix):
if isinstance(shlib_suffix, str):
lib_suffixes.append(shlib_suffix)
if sys.platform.startswith(("win32", "cygwin", "msys", "os2")):
lib_prefixes = ("", "lib")
Expand Down

0 comments on commit 477df3c

Please sign in to comment.