diff --git a/src/core.py b/src/core.py index 1c3cf1c01..a21655855 100644 --- a/src/core.py +++ b/src/core.py @@ -654,8 +654,8 @@ class Manager: "tracker_status", _("Announce sent")) elif event['event_type'] is self.constants['EVENT_LISTEN_FAILED']: - deluge_core.set_listen_on(self.get_state()['port'], - self.get_state()['port']) + deluge_core.set_listen_on([self.get_state()['port'], + self.get_state()['port']]) elif event['event_type'] is self.constants['EVENT_TRACKER_REPLY']: self.set_supp_torrent_state_val(event['unique_ID'], "tracker_status",