From fb2382378ad83d65f6eda137da38e4eb27a592f5 Mon Sep 17 00:00:00 2001 From: Jian Chen Date: Mon, 5 Aug 2024 10:15:27 -0700 Subject: [PATCH] splitlines --- tools/python/run_adb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/python/run_adb.py b/tools/python/run_adb.py index 500c0a9b553ec..4455246a25186 100755 --- a/tools/python/run_adb.py +++ b/tools/python/run_adb.py @@ -22,7 +22,7 @@ def run_adb(android_sdk_root: str, args: typing.List[str]): def is_emulator_running(adb_path) -> bool: result = run(adb_path, "devices", capture_stdout=True) output = result.stdout - output_str = output.decode('utf-8').strip() + output_str = output.decode("utf-8").strip() lines = output_str.splitlines() if len(lines) > 1: for line in lines[1:]: