Merge pull request #1322 from bookwyrm-social/want-to-read-header

Fixes want to read status header
This commit is contained in:
Mouse Reeve 2021-08-21 13:09:34 -06:00 committed by GitHub
commit e76163ffae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -71,7 +71,7 @@ def get_header_template(status):
if isinstance(status, models.Boost):
status = status.boosted_status
try:
header_type = status.reading_status
header_type = status.reading_status.replace("-", "_")
if not header_type:
raise AttributeError()
except AttributeError: