summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/files.py4
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)