kopia lustrzana https://github.com/ihabunek/toot
Capitalize visibility
rodzic
07beba8c68
commit
07ad41960f
|
@ -219,7 +219,7 @@ def status_lines(status: Status) -> t.Generator[str, None, None]:
|
||||||
|
|
||||||
reply = f"↲ In reply to {yellow(in_reply_to_id)} " if in_reply_to_id else ""
|
reply = f"↲ In reply to {yellow(in_reply_to_id)} " if in_reply_to_id else ""
|
||||||
boost = f"↻ {blue(reblogged_by_acct)} boosted " if reblogged_by else ""
|
boost = f"↻ {blue(reblogged_by_acct)} boosted " if reblogged_by else ""
|
||||||
yield f"ID {yellow(status_id)} visibility: {status.visibility} {reply} {boost}"
|
yield f"ID {yellow(status_id)} Visibility: {status.visibility} {reply} {boost}"
|
||||||
|
|
||||||
|
|
||||||
def html_lines(html: str, width: int) -> t.Generator[str, None, None]:
|
def html_lines(html: str, width: int) -> t.Generator[str, None, None]:
|
||||||
|
|
Ładowanie…
Reference in New Issue