Make description line less short
This commit is contained in:
parent
a743718951
commit
6048e49d56
1 changed files with 4 additions and 2 deletions
|
@ -309,9 +309,11 @@ def print_status(status: Status, width: int = 80):
|
|||
print_out("\nMedia:")
|
||||
for count, attachment in enumerate(status.media_attachments):
|
||||
url = attachment.url
|
||||
description = f'<yellow>Description</yellow>: {attachment.description}'
|
||||
description = f'Description: {attachment.description}'
|
||||
print_out(f'{count+1}. URL: {url}')
|
||||
for line in wc_wrap(description, width):
|
||||
for i, line in enumerate(wc_wrap(description, width)):
|
||||
if i == 0:
|
||||
line.replace('Description', '<yellow>Description</yellow>')
|
||||
print_out(line)
|
||||
|
||||
if status.poll:
|
||||
|
|
Loading…
Reference in a new issue