use os.path.join to assemble module path

This commit is contained in:
tek
2012-09-19 12:50:06 +02:00
parent b18aacbd82
commit 11331cd347

View File

@@ -64,8 +64,8 @@ import vim
# update the system path, to include the python scripts # update the system path, to include the python scripts
import sys import sys
import os import os
from os.path import dirname, abspath from os.path import dirname, abspath, join
sys.path.insert(0, dirname(dirname(abspath(vim.eval('s:current_file')))) + '/jedi') sys.path.insert(0, join(dirname(dirname(abspath(vim.eval('s:current_file')))), 'jedi'))
import traceback # for exception output import traceback # for exception output
import re import re