Fix photo id hasher since ids have been ints for a while now.
This commit is contained in:
parent
7f930c3bce
commit
6401eaeb14
1 changed files with 1 additions and 1 deletions
|
|
@ -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()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue