Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
nosivads committed Jan 2, 2025
1 parent 36f1a80 commit aee9fb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/oai.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def prettify(elem):
# print archival object title and digital object URI
generator = (file_version for file_version in client.get(do).json()['file_versions']
if file_version['publish'] == True
and file_version.get('use_statement', None) not in ['image-thumbnail', 'URL-Redirected'])
and file_version.get('use_statement', 'ok') not in ['image-thumbnail', 'URL-Redirected'])
print(client.get(ao).json()['title'], next(generator).get('file_uri', '****************** no file_uri **********************'))

# update collections info in database
Expand Down

0 comments on commit aee9fb5

Please sign in to comment.