Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f732033 commit 26c32c0Copy full SHA for 26c32c0
1 file changed
ftplugin/python/ipy.vim
@@ -566,7 +566,7 @@ def set_pid():
566
try:
567
pid = int(child['content']['user_variables']['_pid'])
568
except TypeError: # change in IPython 1.0.dev moved this out
569
- pid = child['content']['user_variables']['_pid']['data']['text/plain']
+ pid = int(child['content']['user_variables']['_pid']['data']['text/plain'])
570
return pid
571
572
0 commit comments