Skip to content

Commit

Permalink
Merge e85fd05 into 8d5253a
Browse files Browse the repository at this point in the history
  • Loading branch information
gxyd committed Sep 9, 2020
2 parents 8d5253a + e85fd05 commit 154e40e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion handcalcs/render.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,10 @@
def render(line, cell):
# Run the cell
with cell_capture:
_nms.shell.run_cell(cell)
exec_result = _nms.shell.run_cell(cell)

if not exec_result.success:
return None

# Retrieve variables from the local namespace
var_list = _nms.who_ls()
Expand Down

0 comments on commit 154e40e

Please sign in to comment.