mirror of
https://gitea.phreedom.club/localhost_frssoft/funkwlmpv
synced 2024-11-15 02:59:20 +02:00
19 lines
306 B
Python
19 lines
306 B
Python
|
from src.fw_radios import list_radios
|
||
|
from pyfzf.pyfzf import FzfPrompt
|
||
|
|
||
|
fzf = FzfPrompt()
|
||
|
|
||
|
|
||
|
def main():
|
||
|
while True:
|
||
|
menu = ('Radios', )
|
||
|
ids = fzf.prompt(menu)
|
||
|
|
||
|
selected = ids[0]
|
||
|
if selected == 'Radios':
|
||
|
list_radios()
|
||
|
|
||
|
|
||
|
if __name__ == '__main__':
|
||
|
main()
|