diff --git a/funkwhale_cli.py b/funkwhale_cli.py index 29b7edb..b9ba331 100644 --- a/funkwhale_cli.py +++ b/funkwhale_cli.py @@ -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: