mirror of
https://github.com/ihabunek/toot.git
synced 2025-02-02 15:07:51 -05:00
Print if no tags are followed
This commit is contained in:
parent
6f9ef69277
commit
7be74f9240
@ -199,8 +199,11 @@ def print_acct_list(accounts):
|
|||||||
|
|
||||||
|
|
||||||
def print_tag_list(tags):
|
def print_tag_list(tags):
|
||||||
for tag in tags:
|
if tags:
|
||||||
print_out(f"* <green>#{tag['name']}\t</green> {tag['url']}")
|
for tag in tags:
|
||||||
|
print_out(f"* <green>#{tag['name']}\t</green> {tag['url']}")
|
||||||
|
else:
|
||||||
|
print_out("You're not following any hashtags.")
|
||||||
|
|
||||||
|
|
||||||
def print_search_results(results):
|
def print_search_results(results):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user