summaryrefslogtreecommitdiffstats
path: root/sip/tdeio/authinfo.sip
diff options
context:
space:
mode:
Diffstat (limited to 'sip/tdeio/authinfo.sip')
-rw-r--r--sip/tdeio/authinfo.sip2
1 files changed, 1 insertions, 1 deletions
diff --git a/sip/tdeio/authinfo.sip b/sip/tdeio/authinfo.sip
index e4f3a97..95ff7da 100644
--- a/sip/tdeio/authinfo.sip
+++ b/sip/tdeio/authinfo.sip
@@ -151,7 +151,7 @@ typedef TQMap<TQString, TQStringList> KStringListMap;
for (it = map.begin (); it != map.end (); ++it)
{
- PyObject *sKey = PyString_FromString ((const char *)((TQString)it.key ()));
+ PyObject *sKey = SIPBytes_FromString ((const char *)((TQString)it.key ()));
PyObject *sData = sipConvertFromInstance ((void *)&it.data (), sipClass_TQStringList, sipTransferObj);
if ((sKey == NULL) || (sData == NULL) || (PyDict_SetItem (dict, sKey, sData) < 0))