Skip to content

Commit

Permalink
Merge pull request #34 from marimeireles/rm-empty-out
Browse files Browse the repository at this point in the history
Remove empty output
  • Loading branch information
marimeireles committed May 6, 2020
2 parents 37e406d + 54e24e5 commit 10f548c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xeus_sqlite_interpreter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ nl::json interpreter::execute_request_impl(int execution_counter,
html_table << "</table>";
}

if (result.size())
if (result.size() > 2)
{
pub_data["text/plain"] = result;
pub_data["text/html"] = html_table.str();
Expand Down

0 comments on commit 10f548c

Please sign in to comment.