summaryrefslogtreecommitdiff
path: root/plugins/pychrysalide/analysis/db/server.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/pychrysalide/analysis/db/server.c')
-rw-r--r--plugins/pychrysalide/analysis/db/server.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/pychrysalide/analysis/db/server.c b/plugins/pychrysalide/analysis/db/server.c
index 80ff4e2..dae7b29 100644
--- a/plugins/pychrysalide/analysis/db/server.c
+++ b/plugins/pychrysalide/analysis/db/server.c
@@ -83,7 +83,8 @@ static PyObject *py_hub_server_new(PyTypeObject *type, PyObject *args, PyObject
"\n" \
"Instances can be created using the following constructor:\n" \
"\n" \
- " HubServer(host=None, port='1337', ipv6=True)" \
+ " HubServer()" \
+ " HubServer(host='localhost', port='1337', ipv6=True)" \
"\n" \
"Where host and port define the listening properties of the server, and ipv6" \
" tries to establish IPv6 connections first." \
@@ -273,7 +274,7 @@ bool ensure_python_hub_server_is_registered(void)
dict = PyModule_GetDict(module);
- if (!register_class_for_pygobject(dict, G_TYPE_HUB_SERVER, type, &PyGObject_Type))
+ if (!register_class_for_pygobject(dict, G_TYPE_HUB_SERVER, type))
return false;
if (!define_hub_server_constants(type))