write path hash on image property

This commit is contained in:
cwilvx
2025-01-07 23:21:31 +03:00
parent fe39cadfdc
commit ec9f392d73
4 changed files with 9 additions and 7 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ class Album:
self.fav_userids.append(userid)
def __post_init__(self):
self.image = self.albumhash + ".webp"
self.image = self.albumhash + ".webp" + "?pathhash=" + self.pathhash
self.populate_versions()
self.weakhash = create_hash(
self.og_title, ",".join(a["name"] for a in self.albumartists)