mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-18 07:42:09 +00:00
aa
This commit is contained in:
@@ -48,6 +48,7 @@ class Librarian(object):
|
||||
summarized_results.append({"DOI" : item['DOI'], "title": item['title'], "type": item['type'], "container": container})
|
||||
result = {"UUID": uuid, "total_results": self.last_search['message']['total-results'], "on_page" : 1, "summary":summarized_results, "results":self.last_search['message']['items'], }
|
||||
file_data.append(result)
|
||||
print("Saving")
|
||||
data_file.seek(0)
|
||||
# convert back to json.
|
||||
json.dump(file_data, data_file, indent=4)
|
||||
|
||||
Reference in New Issue
Block a user