mirror of
https://gitea.phreedom.club/localhost_frssoft/funkwlmpv
synced 2024-11-22 21:49:19 +02:00
Fix again tag returning
This commit is contained in:
parent
4af198a733
commit
41ebffde83
|
@ -22,9 +22,9 @@ def list_tags(pg=None, search=None):
|
||||||
view.append(f'{index}.{tag_name}')
|
view.append(f'{index}.{tag_name}')
|
||||||
select = fzf.prompt(view)[0].split('.', 1)[0]
|
select = fzf.prompt(view)[0].split('.', 1)[0]
|
||||||
if select == 'Next page':
|
if select == 'Next page':
|
||||||
list_tags(pg=tags_next)
|
return list_tags(pg=tags_next)
|
||||||
elif select == 'Prev page':
|
elif select == 'Prev page':
|
||||||
list_tags(pg=tags_prev)
|
return list_tags(pg=tags_prev)
|
||||||
elif select == 'Search':
|
elif select == 'Search':
|
||||||
print('Search by tag:')
|
print('Search by tag:')
|
||||||
return list_tags(search=input())
|
return list_tags(search=input())
|
||||||
|
|
Loading…
Reference in New Issue