Skip to content

Commit 827c8ff

Browse files
fix external editor bug
--HG-- branch : scroll-frontend
1 parent 2f41e6d commit 827c8ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bpython/scrollfrontend/repl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -717,7 +717,7 @@ def external_editor(self):
717717
temp.flush()
718718
subprocess.call([editor, temp.name])
719719
self.history = [line for line in open(temp.name).read().split('\n')
720-
if (line[:4] != '### ' and line.split())]
720+
if line[:4] != '### ']
721721
self.reevaluate()
722722

723723
def simple_repl():

0 commit comments

Comments
 (0)