Skip to content

Commit

Permalink
Merge pull request #1160 from OCR-D/is-oai-content-loglevel-debug
Browse files Browse the repository at this point in the history
ocrd_utils.is_oai_content: downgrade loglevel
  • Loading branch information
kba authored Jan 8, 2024
2 parents ac1f15b + e4d1cf1 commit 13572ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ocrd_models/ocrd_models/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def is_oai_content(data):
log = getLogger('ocrd.models.utils.is_oai_content')
xml_root = ET.fromstring(data)
root_tag = xml_root.tag
log.info("response data root.tag: '%s'" % root_tag)
log.debug("response data root.tag: '%s'" % root_tag)
return str(root_tag).endswith('OAI-PMH')


Expand Down

0 comments on commit 13572ed

Please sign in to comment.