Skip to content

Commit

Permalink
pragma
Browse files Browse the repository at this point in the history
  • Loading branch information
xlcnd committed Jul 11, 2014
1 parent 2458b0c commit 3821abd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion isbnlib/dev/webquery.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def check_data(self, data_checker=None): # pragma: no cover

def parse_data(self, parser=json.loads):
"""Parse the data (default JSON -> PY)."""
if parser is None:
if parser is None: # pragma: no cover
return self.data
return parser(self.data) # <-- data is now unicode

Expand Down

0 comments on commit 3821abd

Please sign in to comment.