diff options
author | Andrew Godwin | 2022-12-11 12:37:28 -0700 |
---|---|---|
committer | Andrew Godwin | 2022-12-12 11:56:49 -0700 |
commit | 20239b5cb7455d593680b17d2d80d2a4850c524d (patch) | |
tree | 1c5705837e17bca50920848d00bfcf1f7c2313af /core | |
parent | fc8a21fc5c6809ea115092eeec57e09e984cdd76 (diff) | |
download | takahe-20239b5cb7455d593680b17d2d80d2a4850c524d.tar.gz takahe-20239b5cb7455d593680b17d2d80d2a4850c524d.tar.bz2 takahe-20239b5cb7455d593680b17d2d80d2a4850c524d.zip |
Basic post mutation
Diffstat (limited to 'core')
-rw-r--r-- | core/files.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/files.py b/core/files.py index 4c7729d..a04cef9 100644 --- a/core/files.py +++ b/core/files.py @@ -32,8 +32,8 @@ def resize_image( return file -def blurhash_image(image) -> str: +def blurhash_image(file) -> str: """ Returns the blurhash for an image """ - return blurhash.encode(image, 4, 4) + return blurhash.encode(file, 4, 4) |