Skip to content

Commit

Permalink
Fix Jedi not handling tilde in file paths
Browse files Browse the repository at this point in the history
Closes #383
  • Loading branch information
CeleritasCelery committed Mar 4, 2020
1 parent ba9af8c commit f577f15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pythonic.el
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ Take FILENAME from the perspective of the localhost and translate
it to the FILENAME Python process can read. Python can be
running locally or remotely. FILENAME can have local or tramp
format. Result will have local format."
(let ((alias (pythonic-aliased-path filename)))
(let ((alias (pythonic-aliased-path (expand-file-name filename))))
(if (tramp-tramp-file-p alias)
(tramp-file-name-localname (tramp-dissect-file-name alias))
alias)))
Expand Down

0 comments on commit f577f15

Please sign in to comment.