From d8681a059352254e9758fb3e90e40a4e790bb475 Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Mon, 26 Nov 2007 00:59:28 +0000 Subject: [PATCH] another attempt for invalid handle --- src/deluge_core.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/deluge_core.cpp b/src/deluge_core.cpp index 699c43dfb..75c0bb81d 100644 --- a/src/deluge_core.cpp +++ b/src/deluge_core.cpp @@ -1806,7 +1806,7 @@ static PyObject *torrent_replace_trackers(PyObject *self, PyObject *args) } } } - catch (libtorrent::invalid_handle&) {} + catch (...) {} Py_INCREF(Py_None); return Py_None; } static PyObject *torrent_prioritize_files(PyObject *self, PyObject *args)