franzinc / agraph-python

AllegroGraph Python client
https://franz.com/agraph
MIT License
40 stars 12 forks source link

Fixed conversion of boolean to Python type #3

Closed cyroxx closed 7 years ago

cyroxx commented 11 years ago

bool() converts any non-empty string to True, so we need to explicitly check the string content.

Backporting the patch to earlier versions should be considered.

cyroxx commented 7 years ago

This was obviously fixed in e646e5e890fac4782c2d0a6a49140969af5ef81b.