mirror of
https://github.com/onionshare/onionshare.git
synced 2025-08-09 06:42:37 -04:00
Only set Censorship Circumvention bridges if we actually received some
This commit is contained in:
parent
4fbe981c31
commit
035c398f82
1 changed files with 9 additions and 8 deletions
|
@ -242,6 +242,7 @@ class CensorshipCircumvention(object):
|
|||
# Should we attempt to iterate over each type if one of them fails to connect?
|
||||
# But if so, how to stop it starting 3 separate Tor connection threads?
|
||||
# for bridges in request_bridges["settings"]:
|
||||
if bridge_settings["settings"]:
|
||||
bridges = bridge_settings["settings"][0]["bridges"]
|
||||
bridge_strings = bridges["bridge_strings"]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue