Skip to content

Commit b2116c1

Browse files
committed
Fixed issue; API failing when build fails.
1 parent 175037f commit b2116c1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

executor/executor_server.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,9 @@ def execute():
2222
# Call executor_utils to run code.
2323
print('API called with code %s in %s.' % (code, language))
2424
result = eu.build_and_execute(code, language)
25-
print(result)
2625

2726
return jsonify({
28-
'build': result['build'],
27+
'build': str(result['build']),
2928
'run': str(result['run']),
3029
'error': str(result['error'])
3130
})

0 commit comments

Comments
 (0)