Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/Remmina/Remmina.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroyuki Tanaka <myheroyuki@outlook.com>2023-09-22 14:56:42 +0300
committerHiroyuki Tanaka <myheroyuki@outlook.com>2023-09-22 14:56:42 +0300
commita743fc0b1af1eedfee104177d647817dfa8e5a2f (patch)
treefb45aa364ade12cce830ad3ae76994257f88e02c /plugins
parentc96ba51dc7ae111f71fe4b7ab4c669e8be9653f2 (diff)
Fix bug where remmina_pref_get_value_wrapper always returned Py_None
Diffstat (limited to 'plugins')
-rw-r--r--plugins/python_wrapper/python_wrapper_remmina.c2
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);
}
}