Skip to content

Commit b5c55f4

Browse files
committed
Split the standard output into multiple lines
1 parent 8be8934 commit b5c55f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/leetcode.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ def _check_result(submission_id):
347347
# Test states cannot distinguish accepted answers from wrong answers.
348348
if result['state'] == 'Accepted':
349349
result['state'] = 'Finished'
350-
result['stdout'] = r.get('code_output', [])
350+
result['stdout'] = _split(r.get('code_output', []))
351351
result['expected_answer'] = []
352352
result['runtime_percentile'] = r.get('runtime_percentile', '')
353353
result['expected_answer'] = r.get('expected_code_answer', [])

0 commit comments

Comments
 (0)