Skip to content
This repository has been archived by the owner on Jan 2, 2020. It is now read-only.

Commit

Permalink
fix 'query'
Browse files Browse the repository at this point in the history
  • Loading branch information
xlcnd committed Mar 12, 2019
1 parent 7cfc895 commit 047eefb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion isbnlib_oclc/_oclc.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def query(isbn):
user_agent=UA,
data_checker=None,
parser=noparser)
if not xml or u('response code') in xml:
if not xml or 'response code="102"' in xml:
LOGGER.debug("The service 'oclc' is temporarily down!")
return {}

Expand Down

0 comments on commit 047eefb

Please sign in to comment.