parent
73121eb4f6
commit
3f8eefd694
|
@ -71,7 +71,7 @@ def get_header_template(status):
|
||||||
if isinstance(status, models.Boost):
|
if isinstance(status, models.Boost):
|
||||||
status = status.boosted_status
|
status = status.boosted_status
|
||||||
try:
|
try:
|
||||||
header_type = status.reading_status
|
header_type = status.reading_status.replace("-", "_")
|
||||||
if not header_type:
|
if not header_type:
|
||||||
raise AttributeError()
|
raise AttributeError()
|
||||||
except AttributeError:
|
except AttributeError:
|
||||||
|
|
Loading…
Reference in New Issue