Fix for meek to working in snapcraft

This commit is contained in:
Micah Lee 2021-11-15 18:07:57 -08:00
parent 99c85f55e2
commit a4db0d26c9
No known key found for this signature in database
GPG key ID: 403C2657CD994F73

View file

@ -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