summaryrefslogtreecommitdiff
path: root/bcdd/DDTable.py
diff options
context:
space:
mode:
Diffstat (limited to 'bcdd/DDTable.py')
-rw-r--r--bcdd/DDTable.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bcdd/DDTable.py b/bcdd/DDTable.py
index cc08424..c4fc030 100644
--- a/bcdd/DDTable.py
+++ b/bcdd/DDTable.py
@@ -47,7 +47,7 @@ class DDTable(object):
error = self._wrapper.getLastError(solver)
if error:
raise DDTableInvalidException(
- 'BCalc error: ' + str(c_char_p(error)))
+ 'BCalc error: %s' % (c_char_p(error).value.decode('ascii')))
self._wrapper.delete(solver);
return self._validate_table(result)