Skip to content

Commit

Permalink
Set name can have Unicode strings. Added a support for the same.
Browse files Browse the repository at this point in the history
  • Loading branch information
AashishPathak-GSLab committed Dec 2, 2014
1 parent 3cac5ec commit 4008bc6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/conversions.c
Original file line number Diff line number Diff line change
Expand Up @@ -481,8 +481,7 @@ as_status pyobject_to_key(as_error * err, PyObject * py_keytuple, as_key * key)
}
else if ( PyUnicode_Check(py_set) ) {
PyObject * py_ustr = PyUnicode_AsUTF8String(py_set);
char * val = PyString_AsString(py_ustr);
set = PyString_AsString(py_set);
set = PyString_AsString(py_ustr);
Py_DECREF(py_ustr);
}
else {
Expand Down

0 comments on commit 4008bc6

Please sign in to comment.