From 11331cd3471341c00e67295ee1d9221a35efe151 Mon Sep 17 00:00:00 2001 From: tek Date: Wed, 19 Sep 2012 12:50:06 +0200 Subject: [PATCH] use os.path.join to assemble module path --- plugin/jedi.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/jedi.vim b/plugin/jedi.vim index f76d734..cc2dcc6 100644 --- a/plugin/jedi.vim +++ b/plugin/jedi.vim @@ -64,8 +64,8 @@ import vim # update the system path, to include the python scripts import sys import os -from os.path import dirname, abspath -sys.path.insert(0, dirname(dirname(abspath(vim.eval('s:current_file')))) + '/jedi') +from os.path import dirname, abspath, join +sys.path.insert(0, join(dirname(dirname(abspath(vim.eval('s:current_file')))), 'jedi')) import traceback # for exception output import re