Skip to content

Commit c516eec

Browse files
committed
Fix bug
1 parent ddac2f3 commit c516eec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

py/pycompiler.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -797,7 +797,7 @@ function! s:test()
797797
let lines = c.compile(p.parse(r))
798798
unlet lines[0 : index(lines, 'NIL = []') - 1]
799799
let tail = [
800-
\ 'if __name__ == ''main'':',
800+
\ 'if __name__ == ''__main__'':',
801801
\ ' main()',
802802
\ ]
803803
call writefile(head + lines + tail, pyfile)

0 commit comments

Comments
 (0)