mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Fix IndentationError while execution line in console (PY-21653)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user