diff options
author | monsta <[email protected]> | 2017-07-26 15:27:43 +0300 |
---|---|---|
committer | raveit65 <[email protected]> | 2017-07-26 16:42:54 +0200 |
commit | 233c3b8400e20086749cba5515c2f9396161c5ba (patch) | |
tree | 0b561f33c801bf5fe2f5bf6ee14baab513a1218f | |
parent | adcc63097ffb93621d5d3919bc4351ac149cdc7b (diff) | |
download | python-caja-233c3b8400e20086749cba5515c2f9396161c5ba.tar.bz2 python-caja-233c3b8400e20086749cba5515c2f9396161c5ba.tar.xz |
use standard python exception message
-rw-r--r-- | src/caja-python.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |