]> sigrok.org Git - libsigrok.git/blobdiff - bindings/python/sigrok/core/classes.i
bindings: Rename ConfigKey::get(string) to get_by_identifier().
[libsigrok.git] / bindings / python / sigrok / core / classes.i
index 1da14d87cc45238701949549cc4181be562fc4d4..27060cd1f24dc21712fac9edb79a39552eaf7d58 100644 (file)
@@ -377,7 +377,7 @@ std::map<std::string, Glib::VariantBase> dict_to_map_options(PyObject *dict,
         {
             if (!PyString_Check(py_key))
                 throw sigrok::Error(SR_ERR_ARG);
-            auto key = sigrok::ConfigKey::get(PyString_AsString(py_key));
+            auto key = sigrok::ConfigKey::get_by_identifier(PyString_AsString(py_key));
             auto value = python_to_variant_by_key(py_value, key);
             options[key] = value;
         }