diff options
author | Hiroyuki Tanaka <myheroyuki@outlook.com> | 2023-09-22 14:56:42 +0300 |
---|---|---|
committer | Hiroyuki Tanaka <myheroyuki@outlook.com> | 2023-09-22 14:56:42 +0300 |
commit | a743fc0b1af1eedfee104177d647817dfa8e5a2f (patch) | |
tree | fb45aa364ade12cce830ad3ae76994257f88e02c | |
parent | c96ba51dc7ae111f71fe4b7ab4c669e8be9653f2 (diff) |
Fix bug where remmina_pref_get_value_wrapper always returned Py_None
-rw-r--r-- | plugins/python_wrapper/python_wrapper_remmina.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/python_wrapper/python_wrapper_remmina.c b/plugins/python_wrapper/python_wrapper_remmina.c index 8cdee41a9..955be8ef0 100644 --- a/plugins/python_wrapper/python_wrapper_remmina.c +++ b/plugins/python_wrapper/python_wrapper_remmina.c @@ -893,7 +893,7 @@ static PyObject* remmina_pref_get_value_wrapper(PyObject* self, PyObject* args, const gchar* value = python_wrapper_get_service()->pref_get_value(key); if (value) { - result = PyUnicode_FromFormat("%s", result); + result = PyUnicode_FromFormat("%s", value); } } |