diff options
Diffstat (limited to 'dcoppython/shell/importedmodules.cpp')
-rw-r--r-- | dcoppython/shell/importedmodules.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dcoppython/shell/importedmodules.cpp b/dcoppython/shell/importedmodules.cpp index 4b2a23bb..cc352954 100644 --- a/dcoppython/shell/importedmodules.cpp +++ b/dcoppython/shell/importedmodules.cpp @@ -40,8 +40,8 @@ namespace PythonDCOP { return 0; PyObject* args = PyTuple_New( 2 ); - PyTuple_SetItem( args, 0, PyString_FromString( appname ) ); - PyTuple_SetItem( args, 1, PyString_FromString( objname ) ); + PyTuple_SetItem( args, 0, PyBytes_FromString( appname ) ); + PyTuple_SetItem( args, 1, PyBytes_FromString( objname ) ); return PyObject_CallObject( cl, args ); } |