Spaces:
Runtime error
Runtime error
Commit
·
9ed69e7
1
Parent(s):
2159b9e
update code runner feedback
Browse files
app.py
CHANGED
|
@@ -124,6 +124,8 @@ def Code_Runner(code_raw: str):
|
|
| 124 |
interpreter.active_block = code_block
|
| 125 |
output = interpreter.run()
|
| 126 |
print("Real Output: \n", output)
|
|
|
|
|
|
|
| 127 |
return output
|
| 128 |
|
| 129 |
def RemoveIndent(code_string, indentation_level=4):
|
|
|
|
| 124 |
interpreter.active_block = code_block
|
| 125 |
output = interpreter.run()
|
| 126 |
print("Real Output: \n", output)
|
| 127 |
+
if output =="":
|
| 128 |
+
output = "It is Done. No Error Found."
|
| 129 |
return output
|
| 130 |
|
| 131 |
def RemoveIndent(code_string, indentation_level=4):
|