summaryrefslogtreecommitdiffstats
path: root/lib/kross/python/pythonextension.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kross/python/pythonextension.cpp')
-rw-r--r--lib/kross/python/pythonextension.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kross/python/pythonextension.cpp b/lib/kross/python/pythonextension.cpp
index aab781ab1..f13cf93af 100644
--- a/lib/kross/python/pythonextension.cpp
+++ b/lib/kross/python/pythonextension.cpp
@@ -177,7 +177,7 @@ Kross::Api::Dict::Ptr PythonExtension::toObject(const Py::Dict& dict)
uint length = l.length();
for(Py::List::size_type i = 0; i < length; ++i) {
const char* n = l[i].str().as_string().c_str();
- map.tqreplace(n, toObject( dict[n] ));
+ map.replace(n, toObject( dict[n] ));
}
return new Kross::Api::Dict(map);
}