Skip to content

Commit

Permalink
better import path injected into sys.path for jedi library
Browse files Browse the repository at this point in the history
  • Loading branch information
DamnWidget committed May 12, 2016
1 parent 7721ae8 commit ae4c4bd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions anaconda_server/jsonserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@
except ImportError:
import json

sys.path.insert(
0, os.path.join(os.path.dirname(__file__), '../anaconda_lib/jedi'))
sys.path.insert(0, os.path.join(
os.path.split(os.path.split(__file__)[0])[0], 'anaconda_lib'))

import settings as jedi_settings
from jedi import settings as jedi_settings
from lib.contexts import json_decode
from handlers import ANACONDA_HANDLERS
from lib.anaconda_handler import AnacondaHandler
Expand Down

0 comments on commit ae4c4bd

Please sign in to comment.