Skip to content

Commit

Permalink
splitlines
Browse files Browse the repository at this point in the history
  • Loading branch information
jchen351 committed Aug 5, 2024
1 parent eef0213 commit fb23823
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/python/run_adb.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:]:
Expand Down

0 comments on commit fb23823

Please sign in to comment.