   lint: (textEditor) =>
     if not @cmd
       return []
+    @initPythonPath path.dirname do textEditor.getPath
     if @lintOnFly_
       return @lintOnFly textEditor
     else

    (lintOnFly) =>
      @lintOnFly_ = lintOnFly

    do @initPythonPath
    do @initPylama



    return @lintOnFly_


  initPythonPath: (cwd) ->
    sep = path.delimiter
    pythonPath = if process.env['PYTHONPATH'] then process.env.PYTHONPATH else ''
    pythonPath = pythonPath.split sep
    pythonPath = pythonPath.filter(Boolean)

    if cwd and cwd not in pythonPath
      pythonPath.push cwd

    process_path = process.env.PWD
    if process_path and process_path not in pythonPath
