Fix IndentationError while execution line in console (PY-21653)

This commit is contained in:
Elizaveta Shashkova
2016-12-05 17:02:30 +03:00
parent cbddf1eb94
commit bb42aa2cf5
@@ -59,7 +59,7 @@ public class PyExecuteSelectionAction extends AnAction {
else {
String line = getLineUnderCaret(editor);
if (line != null) {
execute(e, line);
execute(e, line.trim());
moveCaretDown(editor);
}
}