From 6401eaeb141960798a1bb7fefd5c08040bebdbdf Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Fri, 14 Nov 2025 00:39:04 -0800 Subject: [PATCH] Fix photo id hasher since ids have been ints for a while now. --- etiquette/helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etiquette/helpers.py b/etiquette/helpers.py index 1ebfc08..d77d9d0 100644 --- a/etiquette/helpers.py +++ b/etiquette/helpers.py @@ -317,7 +317,7 @@ def hash_photoset(photos) -> str: photo_ids = sorted(set(p.id for p in photos)) for photo_id in photo_ids: - hasher.update(photo_id.encode('utf-8')) + hasher.update(str(photo_id).encode('utf-8')) return hasher.hexdigest()