Skip to content

Commit

Permalink
Nest _webp under webp
Browse files Browse the repository at this point in the history
  • Loading branch information
anibali committed Mar 17, 2024
1 parent f79f8c3 commit 616f778
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion webp/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from PIL import Image
from typing import Any, Generator, List, Optional, Tuple

from _webp import ffi, lib
from webp._webp import ffi, lib

class WebPPreset(Enum):
DEFAULT: int = lib.WEBP_PRESET_DEFAULT # Default
Expand Down
2 changes: 1 addition & 1 deletion webp_build/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def create_ffibuilder():
# Specify C sources to be built by CFFI
ffibuilder = FFI()
ffibuilder.set_source(
'_webp',
'webp._webp',
read_text(webp_build, 'source.c'),
extra_objects=cffi_settings['extra_objects'],
extra_compile_args=cffi_settings['extra_compile_args'],
Expand Down

0 comments on commit 616f778

Please sign in to comment.