Fix siteSign without connection server
This commit is contained in:
parent
35192531a6
commit
36e969ed1f
1 changed files with 1 additions and 1 deletions
|
@ -699,7 +699,7 @@ class Site(object):
|
||||||
# Filter trackers based on supported networks
|
# Filter trackers based on supported networks
|
||||||
if config.disable_udp:
|
if config.disable_udp:
|
||||||
trackers = [tracker for tracker in trackers if not tracker.startswith("udp://")]
|
trackers = [tracker for tracker in trackers if not tracker.startswith("udp://")]
|
||||||
if not self.connection_server.tor_manager.enabled:
|
if self.connection_server and not self.connection_server.tor_manager.enabled:
|
||||||
trackers = [tracker for tracker in trackers if ".onion" not in tracker]
|
trackers = [tracker for tracker in trackers if ".onion" not in tracker]
|
||||||
|
|
||||||
if mode == "update" or mode == "more": # Only announce on one tracker, increment the queried tracker id
|
if mode == "update" or mode == "more": # Only announce on one tracker, increment the queried tracker id
|
||||||
|
|
Loading…
Reference in a new issue