From 22a8c52f4888ca6c48c1583f96a0cb08445a1827 Mon Sep 17 00:00:00 2001 From: tretrauit <3550664-tretrauit@users.noreply.gitlab.com> Date: Wed, 2 Feb 2022 07:26:16 +0000 Subject: [PATCH] fix typo --- Apps/ws-scrcpy/ws-scrcpy-launcher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Apps/ws-scrcpy/ws-scrcpy-launcher.py b/Apps/ws-scrcpy/ws-scrcpy-launcher.py index 10c948a..64a8611 100644 --- a/Apps/ws-scrcpy/ws-scrcpy-launcher.py +++ b/Apps/ws-scrcpy/ws-scrcpy-launcher.py @@ -39,7 +39,7 @@ def main(): ws_scrcpy = subprocess.Popen(["npm", "start"], cwd="./ws-scrcpy", stdout=subprocess.PIPE, stderr=subprocess.PIPE) def print_ws_scrcpy(): for line in ws_scrcpy.stdout: - if line.decode("utf-8").strip is None: + if line.decode("utf-8").strip() is None: continue if "Listening on:" in line.decode("utf-8").strip(): device_ip = subprocess.check_output(['ifdata', '-pa', 'wlan0']).decode("utf-8").strip()