Fix photo id hasher since ids have been ints for a while now.

This commit is contained in:
voussoir 2025-11-14 00:39:04 -08:00
parent 7f930c3bce
commit 6401eaeb14

View file

@ -317,7 +317,7 @@ def hash_photoset(photos) -> str:
photo_ids = sorted(set(p.id for p in photos)) photo_ids = sorted(set(p.id for p in photos))
for photo_id in photo_ids: for photo_id in photo_ids:
hasher.update(photo_id.encode('utf-8')) hasher.update(str(photo_id).encode('utf-8'))
return hasher.hexdigest() return hasher.hexdigest()