aboutsummaryrefslogtreecommitdiffstats
path: root/epan/wspython/wspy_register.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2011-10-24 16:33:01 +0000
committerAnders Broman <anders.broman@ericsson.com>2011-10-24 16:33:01 +0000
commita203843c86d9b5454fc39fd073e8c0655b75cd9f (patch)
tree3abeaf86baca1d3f16b277e192544345bb4f6411 /epan/wspython/wspy_register.c
parent3e136ab5bc0d2ae33080b7a872fef23db7bc801f (diff)
From Eliot:
Search personal plugins dir for python plugins https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6448 svn path=/trunk/; revision=39534
Diffstat (limited to 'epan/wspython/wspy_register.c')
-rw-r--r--epan/wspython/wspy_register.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/wspython/wspy_register.c b/epan/wspython/wspy_register.c
index 0df7e9eb46..97bde1b2f3 100644
--- a/epan/wspython/wspy_register.c
+++ b/epan/wspython/wspy_register.c
@@ -152,7 +152,7 @@ void register_all_py_protocols_func(void)
/* Execute the python register function */
/* This function returns a sequence of python dissectors objects */
- py_args = Py_BuildValue("(s)", get_wspython_dir());
+ py_args = Py_BuildValue("ss", get_wspython_dir(), get_plugins_pers_dir());
py_dissectors = PyObject_CallObject(register_fn, py_args);
/* Check that the py_dissectors is really a sequence */