From f577f155fb0c6e57b3ff82447ac25dcb3ca0080f Mon Sep 17 00:00:00 2001 From: Troy Hinckley Date: Wed, 4 Mar 2020 11:01:11 -0800 Subject: [PATCH] Fix Jedi not handling tilde in file paths Closes #383 --- pythonic.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pythonic.el b/pythonic.el index ce796b7..ff77bc6 100644 --- a/pythonic.el +++ b/pythonic.el @@ -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)))