summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcos Pinto <markybob@dipconsultants.com>2007-10-23 20:51:15 +0000
committerMarcos Pinto <markybob@dipconsultants.com>2007-10-23 20:51:15 +0000
commitc8f97a9421f4de4cb76666f4681833a6ee503eb0 (patch)
tree6d82cbb5303844d3d5f586ff4eac3fa249f2c0f2
parent49c0e3462aea99e40fa0cbf93cdc191cdfb31b46 (diff)
downloaddeluge-c8f97a9421f4de4cb76666f4681833a6ee503eb0.tar.gz
deluge-c8f97a9421f4de4cb76666f4681833a6ee503eb0.tar.bz2
deluge-c8f97a9421f4de4cb76666f4681833a6ee503eb0.zip
try to catch replace trackers error
-rw-r--r--src/core.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core.py b/src/core.py
index e293174f3..7b718c162 100644
--- a/src/core.py
+++ b/src/core.py
@@ -1021,7 +1021,10 @@ class Manager:
return deluge_core.get_trackers(unique_ID)
def replace_trackers(self, unique_ID, trackers):
- return deluge_core.replace_trackers(unique_ID, trackers)
+ try:
+ return deluge_core.replace_trackers(unique_ID, trackers)
+ except:
+ pass
def set_priv(self, unique_ID, on_off):
return deluge_core.set_priv(unique_ID, on_off)