Skip to content

Commit

Permalink
pep8 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jake authored and jake committed Jan 6, 2023
1 parent 98dd225 commit a8b85ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internetarchive/cli/ia_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit a8b85ce

Please sign in to comment.