We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff92845 commit 2460745Copy full SHA for 2460745
1 file changed
thumbhash/encode.py
@@ -9,7 +9,9 @@
9
from thumbhash.hash import Hash
10
11
12
-def image_to_thumbhash(image: Union[str, bytes, Path, BinaryIO, Image.Image]) -> str:
+def image_to_thumbhash(
13
+ image: Union[str, bytes, Path, BinaryIO, Image.Image],
14
+) -> str:
15
if not isinstance(image, Image.Image):
16
image = Image.open(image)
17
0 commit comments