summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcos Pinto <markybob@dipconsultants.com>2007-11-26 00:59:28 +0000
committerMarcos Pinto <markybob@dipconsultants.com>2007-11-26 00:59:28 +0000
commitd8681a059352254e9758fb3e90e40a4e790bb475 (patch)
tree3160d1963c76829bed1bff292d3082aec9eab6ed
parentedb20e0c054ce82fe29be63151b267b0ee01f137 (diff)
downloaddeluge-d8681a059352254e9758fb3e90e40a4e790bb475.tar.gz
deluge-d8681a059352254e9758fb3e90e40a4e790bb475.tar.bz2
deluge-d8681a059352254e9758fb3e90e40a4e790bb475.zip
another attempt for invalid handle
-rw-r--r--src/deluge_core.cpp2
1 files changed, 1 insertions, 1 deletions
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)