try to catch replace trackers error

This commit is contained in:
Marcos Pinto 2007-10-23 20:51:15 +00:00
parent 1bf007907c
commit 74e5e49ee1
1 changed files with 4 additions and 1 deletions

View File

@ -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)