mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-22 17:41:08 +00:00
Fixes want to read status header
jankily, mind you
This commit is contained in:
parent
73121eb4f6
commit
3f8eefd694
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue