From b4923a3122c8cd7876b8c7bb0ed20b5945c0ed56 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Tue, 23 Aug 2022 09:40:21 +0000 Subject: [PATCH] python: Export DatabaseEnumerator type This is useful for tests Signed-off-by: Michael Tremer --- src/python/locationmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/python/locationmodule.c b/src/python/locationmodule.c index 09cd5dd..46d9f83 100644 --- a/src/python/locationmodule.c +++ b/src/python/locationmodule.c @@ -147,7 +147,7 @@ PyMODINIT_FUNC PyInit__location(void) { return NULL; Py_INCREF(&DatabaseEnumeratorType); - //PyModule_AddObject(m, "DatabaseEnumerator", (PyObject *)&DatabaseEnumeratorType); + PyModule_AddObject(m, "DatabaseEnumerator", (PyObject *)&DatabaseEnumeratorType); // Network if (PyType_Ready(&NetworkType) < 0) -- 2.39.5