From f26d28638af3eddd164c1df4008ce2bd9e5e66bd Mon Sep 17 00:00:00 2001 From: Eden Refael Date: Thu, 28 Nov 2024 20:21:37 +0200 Subject: [PATCH] more explanations --- jc/parsers/amixer.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/jc/parsers/amixer.py b/jc/parsers/amixer.py index 8c345f12..aa97c045 100644 --- a/jc/parsers/amixer.py +++ b/jc/parsers/amixer.py @@ -109,10 +109,9 @@ def parse( # check if string jc.utils.input_type_check(data) - # split the output lines \r\n or \n - # raw_output = [] - # lines: list = list(filter(None, data.splitlines())) # lines=cleandata + # starts the parsing from here mapping = {} + # split lines and than work on each line lines = data.splitlines() first_line = lines[0].strip()