         Please, check executable path in the linter settings."
         return
     @enabled = true
-    log "Linter-Pylama: found pylama " + versionRegEx.exec(stderr)[1]
+    log "Linter-Pylama: found pylama " + @pylamaVersion
     do @initPythonPath
     do @initCmd
 

  executionCheckHandler: (error, stdout, stderr) =>
    if not @enabled
      versionRegEx = /pylama ([\d\.]+)/
      if not (versionRegEx.test(stderr) or versionRegEx.test(stdout))
        result = if error? then '#' + error.code + ': ' else ''
        result += 'stdout: ' + stdout if stdout.length > 0
        result += 'stderr: ' + stderr if stderr.length > 0


class LinterPylama extends Linter
  @enable: false
  @pylamaVersion: ''
  @syntax: 'source.python'
  @cmd: ''
  @cfg: null
