Skip to content

Commit

Permalink
fix interrupt logic for IPython >=1.0, closes #76
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanov committed Nov 15, 2013
1 parent f732033 commit 26c32c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ftplugin/python/ipy.vim
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ def set_pid():
try:
pid = int(child['content']['user_variables']['_pid'])
except TypeError: # change in IPython 1.0.dev moved this out
pid = child['content']['user_variables']['_pid']['data']['text/plain']
pid = int(child['content']['user_variables']['_pid']['data']['text/plain'])
return pid


Expand Down

0 comments on commit 26c32c0

Please sign in to comment.