Skip to content

Commit

Permalink
fix my python environ code
Browse files Browse the repository at this point in the history
Signed-off-by: madomado <[email protected]>
  • Loading branch information
madonuko authored Jul 1, 2024
1 parent 49c307a commit b327768
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ index b3bf0ce..e5365b0 100644
- version_file = "pillow_heif/_version.py"
- exec(compile(Path(version_file).read_text(encoding="utf-8"), version_file, "exec")) # pylint: disable=exec-used
- return locals()["__version__"]
+ os.environ("PILLOW_HEIF_VERSION")
+ os.environ["PILLOW_HEIF_VERSION"]


def _cmd_exists(cmd: str) -> bool:
Expand Down

0 comments on commit b327768

Please sign in to comment.