simonw/til

Shot hash should include base template and CSS too

simonw opened this issue · 0 comments

Screenshots currently won't be regenerated if I change the base template or modify the CSS:

# The shot_hash incorporates a hash of all of row.html
row_html_hash = hashlib.md5(
(root / "templates" / "row.html").read_text().encode("utf-8")
).hexdigest()