mirror of
https://github.com/ihabunek/toot.git
synced 2024-11-03 04:17:21 -05:00
Nicer account output
This commit is contained in:
parent
6766cf83b4
commit
661d35675a
@ -288,10 +288,11 @@ def _find_account(app, user, account_name):
|
||||
def _print_account(account):
|
||||
print("{} {}".format(green("@" + account['acct']), account['display_name']))
|
||||
|
||||
if account['note']:
|
||||
note = BeautifulSoup(account['note'], "html.parser").get_text()
|
||||
|
||||
if note:
|
||||
print("")
|
||||
note = BeautifulSoup(account['note'], "html.parser")
|
||||
print("\n".join(wrap(note.get_text())))
|
||||
print("\n".join(wrap(note)))
|
||||
|
||||
print("")
|
||||
print("ID: " + green(account['id']))
|
||||
|
Loading…
Reference in New Issue
Block a user