-
Brenden Blanco authored
The check for NULL in the return value from C functions was comparing to None incorrectly, causing an error check to pass improperly. Simply check the truthiness of the return instead seems to be more resilient. Add a test as well. Fixes: #568 Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
9964bf2c