Skip to content

Commit 9c9ad2d

Browse files
Changed extract_fn a little.
1 parent 1ca8218 commit 9c9ad2d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/tests/run_tv_casting_test.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,8 @@ def extract_value_from_string(line: str) -> str:
113113
The substring to be extracted here is 'Test TV casting app'.
114114
"""
115115
if '=' in line:
116-
value = line.split('=')[-1].strip().replace(',\x1b[0m', '')
116+
# value = line.split('=')[-1].strip().replace(',\x1b[0m', '') # SHAO OG
117+
value = line.split('=')[-1].strip().replace(',\n', '')
117118
else:
118119
value = line.split(':')[-1].strip().replace('\x1b[0m', '')
119120

0 commit comments

Comments
 (0)