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 aee9fb5 commit 30967df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/oai.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ def prettify(elem):
for do, ao in item[1]:
# 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', 'ok') not in ['image-thumbnail', 'URL-Redirected'])
if file_version['publish'] == True)
#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 30967df

Please sign in to comment.