fix returning value tag from tags search

This commit is contained in:
localhost_frssoft 2022-11-30 03:40:18 +03:00
parent fa58dde080
commit 105dccdda7

View file

@ -27,7 +27,7 @@ def list_tags(pg=None, search=None):
list_tags(pg=tags_prev) list_tags(pg=tags_prev)
elif select == 'Search': elif select == 'Search':
print('Search by tag:') print('Search by tag:')
list_tags(search=input()) return list_tags(search=input())
else: else:
return tags_results[int(select)].get('name') return tags_results[int(select)].get('name')