mirror of
http://gitea.phreedom.club/localhost_frssoft/funkwlmpv
synced 2024-11-21 21:51:28 +00:00
Some logger changes
This commit is contained in:
parent
52cf8869b4
commit
097051cdef
|
@ -11,12 +11,6 @@ from pyfzf.pyfzf import FzfPrompt
|
|||
fzf = FzfPrompt()
|
||||
|
||||
def main():
|
||||
logger.remove()
|
||||
logger.add(sys.stderr, filter='src.fw_api')
|
||||
logger.add(sys.stderr, filter='src.fw_radios')
|
||||
logger.add(sys.stderr, filter='src.fw_artists')
|
||||
logger.add(sys.stderr, filter='src.fw_albums')
|
||||
logger.add(sys.stderr, filter='src.fw_channels')
|
||||
while True:
|
||||
menu = ['Radios',
|
||||
'Artists',
|
||||
|
@ -42,6 +36,7 @@ def main():
|
|||
if search_type == 'Federated':
|
||||
print('Input url:')
|
||||
returned_obj = federate_search_by_url(input())
|
||||
logger.info(str(returned_obj))
|
||||
|
||||
if selected == 'Switch instance':
|
||||
with open('config.json', 'rt') as f:
|
||||
|
|
Loading…
Reference in a new issue