def print_account(account):
...
if account["fields"]:
for field in account["fields"]:
name = field["name"].title() print_out(f'\n<yellow>{name}</yellow>:') print_html(field["value"])
try:
if field["verified_at"]: print_out("<green>✓ Verified</green>")
except KeyError as e: print_out("<red>not verified: verified_at missing</red>")
this should do :
in toot/output.py:
def print_account( account) : name"]. title()
print_ out(f'\ n<yellow> {name}< /yellow> :')
print_ html(field[ "value" ]) verified_ at"]:
print_ out("<green> ✓ Verified</green>")
print_ out("<red> not verified: verified_at missing</red>")
...
if account["fields"]:
for field in account["fields"]:
name = field["
try:
if field["
except KeyError as e:
print_out("") out(account[ "url"])
print_