Fix coloring
This commit is contained in:
parent
6048e49d56
commit
5b685e62ad
1 changed files with 2 additions and 2 deletions
|
@ -310,10 +310,10 @@ def print_status(status: Status, width: int = 80):
|
|||
for count, attachment in enumerate(status.media_attachments):
|
||||
url = attachment.url
|
||||
description = f'Description: {attachment.description}'
|
||||
print_out(f'{count+1}. URL: {url}')
|
||||
print_out(f'{count+1}. <yellow>URL</yellow>: {url}')
|
||||
for i, line in enumerate(wc_wrap(description, width)):
|
||||
if i == 0:
|
||||
line.replace('Description', '<yellow>Description</yellow>')
|
||||
line = line.replace('Description', '<yellow>Description</yellow>')
|
||||
print_out(line)
|
||||
|
||||
if status.poll:
|
||||
|
|
Loading…
Reference in a new issue