Skip to content

Commit 2460745

Browse files
authored
Update encode.py
1 parent ff92845 commit 2460745

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

thumbhash/encode.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99
from thumbhash.hash import Hash
1010

1111

12-
def image_to_thumbhash(image: Union[str, bytes, Path, BinaryIO, Image.Image]) -> str:
12+
def image_to_thumbhash(
13+
image: Union[str, bytes, Path, BinaryIO, Image.Image],
14+
) -> str:
1315
if not isinstance(image, Image.Image):
1416
image = Image.open(image)
1517

0 commit comments

Comments
 (0)