Skip to content

Commit ed8c533

Browse files
author
Mel Boyce
committed
Added default value for err variable.
1 parent f8b1aac commit ed8c533

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymode/run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
def run_code():
1414
""" Run python code in current buffer. """
1515

16-
errors = []
16+
errors, err = [], ''
1717
line1, line2 = env.var('a:line1'), env.var('a:line2')
1818
lines = __prepare_lines(line1, line2)
1919

0 commit comments

Comments
 (0)