Skip to content

Commit

Permalink
fix #688 (? cells)
Browse files Browse the repository at this point in the history
  • Loading branch information
stevengj committed Jul 23, 2018
1 parent b4b3c09 commit bb438dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/execute_request.jl
Original file line number Diff line number Diff line change
Expand Up @@ -173,11 +173,11 @@ function execute_request(socket, msg)
end


if hcode != code # help request
ans = result = if hcode != code # help request
Core.eval(Main, helpmode(hcode))
else
#run the code!
ans = result = occursin(magics_regex, code) ? magics_help(code) :
occursin(magics_regex, code) ? magics_help(code) :
include_string(current_module[], code, "In[$n]")
end

Expand Down

0 comments on commit bb438dc

Please sign in to comment.