Skip to content

Commit fa16097

Browse files
committed
Fix run
1 parent b1d1468 commit fa16097

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎pymode/run.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,4 +73,6 @@ def __prepare_lines(line1, line2):
7373
indent = len(line) - len(line.lstrip())
7474
break
7575

76+
if len(lines) == 1:
77+
lines.append('')
7678
return [l[indent:] for l in lines]

0 commit comments

Comments
 (0)