From a8b85ce081878bc969e30eaed75b232799f2cf24 Mon Sep 17 00:00:00 2001 From: jake Date: Fri, 6 Jan 2023 10:50:33 -0800 Subject: [PATCH] pep8 fix --- internetarchive/cli/ia_search.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internetarchive/cli/ia_search.py b/internetarchive/cli/ia_search.py index c931c9c8..59e00887 100644 --- a/internetarchive/cli/ia_search.py +++ b/internetarchive/cli/ia_search.py @@ -102,7 +102,7 @@ def main(argv, session: ArchiveSession | None = None) -> None: for result in search: if args['--itemlist']: if args['--fts'] or args['--dsl-fts']: - print('\n'.join(result.get('fields', dict()).get('identifier'))) + print('\n'.join(result.get('fields', {}).get('identifier'))) else: print(result.get('identifier', '')) else: