From 20239b5cb7455d593680b17d2d80d2a4850c524d Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Sun, 11 Dec 2022 12:37:28 -0700 Subject: Basic post mutation --- core/files.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core') 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) -- cgit v1.2.3