From 233c3b8400e20086749cba5515c2f9396161c5ba Mon Sep 17 00:00:00 2001 From: monsta Date: Wed, 26 Jul 2017 15:27:43 +0300 Subject: use standard python exception message --- src/caja-python.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/caja-python.c b/src/caja-python.c index 03a5c67..7f13e36 100644 --- a/src/caja-python.c +++ b/src/caja-python.c @@ -206,7 +206,7 @@ caja_python_init_python (void) debug("import caja"); gi = PyImport_ImportModule ("gi"); if (!gi) { - g_critical ("can't find gi"); + PyErr_Print(); return FALSE; } -- cgit v1.2.1