File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1026,7 +1026,7 @@ def send_session_to_external_editor(self, filename=None):
1026
1026
current_line = lines [- 1 ][4 :]
1027
1027
else :
1028
1028
current_line = ""
1029
- from_editor = [line for line in lines if line [:6 ] != "# OUT:" ]
1029
+ from_editor = [line for line in lines if line [:6 ] != "# OUT:" and line [: 3 ] != "###" ]
1030
1030
if all (not line .strip () for line in from_editor ):
1031
1031
self .status_bar .message (
1032
1032
_ ("Session not reevaluated because saved file was blank" )
Original file line number Diff line number Diff line change @@ -835,7 +835,7 @@ def process():
835
835
yield line
836
836
elif line .rstrip ():
837
837
yield "# OUT: %s" % line
838
- yield "###: %s" % self .current_line
838
+ yield "### %s" % self .current_line
839
839
840
840
return "\n " .join (process ())
841
841
You can’t perform that action at this time.
0 commit comments