aboutsummaryrefslogtreecommitdiff
path: root/cli/onionshare_cli/censorship.py
diff options
context:
space:
mode:
Diffstat (limited to 'cli/onionshare_cli/censorship.py')
-rw-r--r--cli/onionshare_cli/censorship.py17
1 files changed, 6 insertions, 11 deletions
diff --git a/cli/onionshare_cli/censorship.py b/cli/onionshare_cli/censorship.py
index 4ab5c366..058f0f35 100644
--- a/cli/onionshare_cli/censorship.py
+++ b/cli/onionshare_cli/censorship.py
@@ -19,8 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
"""
import requests
-from .meek import MeekNotRunning
-
class CensorshipCircumventionError(Exception):
"""
@@ -47,15 +45,12 @@ class CensorshipCircumvention(object):
self.api_proxies = {}
if meek:
self.meek = meek
- if not self.meek.meek_proxies:
- raise MeekNotRunning()
- else:
- self.common.log(
- "CensorshipCircumvention",
- "__init__",
- "Using Meek with CensorshipCircumvention API",
- )
- self.api_proxies = self.meek.meek_proxies
+ self.common.log(
+ "CensorshipCircumvention",
+ "__init__",
+ "Using Meek with CensorshipCircumvention API",
+ )
+ self.api_proxies = self.meek.meek_proxies
if onion:
self.onion = onion
if not self.onion.is_authenticated: