diff options
author | Micah Lee <micah@micahflee.com> | 2021-11-15 18:07:57 -0800 |
---|---|---|
committer | Micah Lee <micah@micahflee.com> | 2021-11-15 18:07:57 -0800 |
commit | a4db0d26c96bd66be8f3017ddd44a5c7d7792fc2 (patch) | |
tree | f7929325c7397239616056d85f48053299f21143 /cli/onionshare_cli/meek.py | |
parent | 99c85f55e27e777e64e4de12c74e3dedc88feec1 (diff) | |
download | onionshare-a4db0d26c96bd66be8f3017ddd44a5c7d7792fc2.tar.gz onionshare-a4db0d26c96bd66be8f3017ddd44a5c7d7792fc2.zip |
Fix for meek to working in snapcraft
Diffstat (limited to 'cli/onionshare_cli/meek.py')
-rw-r--r-- | cli/onionshare_cli/meek.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/onionshare_cli/meek.py b/cli/onionshare_cli/meek.py index c5df7b7f..dffbad83 100644 --- a/cli/onionshare_cli/meek.py +++ b/cli/onionshare_cli/meek.py @@ -120,7 +120,8 @@ class Meek(object): stderr=subprocess.PIPE, bufsize=1, env=self.meek_env, - text=True, + # Using universal_newlines instead of text because the snap package using python < 3.7 + universal_newlines=True, ) # Queue up the stdout from the subprocess for polling later |