diff options
author | Micah Lee <micah@micahflee.com> | 2021-10-24 20:23:55 -0700 |
---|---|---|
committer | Micah Lee <micah@micahflee.com> | 2021-10-24 20:23:55 -0700 |
commit | 44f4053603eef5ea7dedd000416256cbdf6350c9 (patch) | |
tree | 3539c52863e05c0710348bccc9b9fb38cbf99bf3 /cli | |
parent | e33fc49815d58548488675d7c409408cb5005e65 (diff) | |
download | onionshare-44f4053603eef5ea7dedd000416256cbdf6350c9.tar.gz onionshare-44f4053603eef5ea7dedd000416256cbdf6350c9.zip |
Make meek debug log show host:port on one line
Diffstat (limited to 'cli')
-rw-r--r-- | cli/onionshare_cli/meek.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/cli/onionshare_cli/meek.py b/cli/onionshare_cli/meek.py index 6b31a584..b2e70dc1 100644 --- a/cli/onionshare_cli/meek.py +++ b/cli/onionshare_cli/meek.py @@ -136,8 +136,11 @@ class Meek(object): if "CMETHOD meek socks5" in line: self.meek_host = line.split(" ")[3].split(":")[0] self.meek_port = line.split(" ")[3].split(":")[1] - self.common.log("Meek", "start", f"Meek host is {self.meek_host}") - self.common.log("Meek", "start", f"Meek port is {self.meek_port}") + self.common.log( + "Meek", + "start", + f"Meek running on {self.meek_host}:{self.meek_port}", + ) break if self.meek_port: |