Skip to content

Commit

Permalink
Merge 24c5e63 into 0f10d03
Browse files Browse the repository at this point in the history
  • Loading branch information
drjova committed Oct 1, 2021
2 parents 0f10d03 + 24c5e63 commit 6b626e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hepcrawl/spiders/desy_spider.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ def _get_marcxml_records(self, response_body):
if not list_items:
list_items = root.findall('.//record')

return [etree.tostring(item) for item in list_items]
return [etree.tostring(item, encoding='utf8') for item in list_items]

def _parsed_items_from_marcxml(
self,
Expand Down

0 comments on commit 6b626e5

Please sign in to comment.