jupyter
jupyter copied to clipboard
:dir folder not included in the link to file
Hi there.
Thanks for this amazing package!
I noticed this little bug that I think it might be easy to solve.
If I set a working directory via :dir, the kernel is correctly running in there. But, if I set a file output via :file, while that file is correctly created in the working folder, the link that is written in the output it does not contain that directory, therefore is broken.
See example here:
`#+begin_src jupyter-python :session test :dir ~/Downloads :file test.png import os print(os.getcwd()) plt.plot(range(10)) plt.show() #+end_src
#+RESULTS: :RESULTS: : /home/fraricci/Downloads [[file:test.png]] :END:`
Thanks and happy new year all!