dccsillag / magma-nvim

Interact with Jupyter from NeoVim.
GNU General Public License v3.0
988 stars 50 forks source link

Fixed errors when running MagmaDelete (Issue #52) #58

Closed MrBober closed 1 year ago

MrBober commented 1 year ago

I found that this issue was caused by trying to access an item while outputs dictionary was empty. I added checks to make sure key is in the dictionary before trying to access it.

dccsillag commented 1 year ago

LGTM. Thanks for the contribution!