Skip to content

Commit

Permalink
Fix #847
Browse files Browse the repository at this point in the history
Fixes #847
  • Loading branch information
ashleysommer authored Oct 18, 2018
1 parent 13d2afb commit f547599
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rdflib/term.py
Original file line number Diff line number Diff line change
Expand Up @@ -1481,7 +1481,7 @@ def _castPythonToLiteral(obj):
URIRef(_XSD_PFX + 'normalizedString'): None,
URIRef(_XSD_PFX + 'token'): None,
URIRef(_XSD_PFX + 'language'): None,
URIRef(_XSD_PFX + 'boolean'): lambda i: i.lower() in ['1', 'true'],
URIRef(_XSD_PFX + 'boolean'): lambda i: i.lower() == 'true',
URIRef(_XSD_PFX + 'decimal'): Decimal,
URIRef(_XSD_PFX + 'integer'): long_type,
URIRef(_XSD_PFX + 'nonPositiveInteger'): int,
Expand Down

0 comments on commit f547599

Please sign in to comment.