Skip to content

Commit

Permalink
Fixed UnboundLocalError exception
Browse files Browse the repository at this point in the history
  • Loading branch information
Rinze de Laat committed Mar 22, 2014
1 parent 6a68bef commit c042d5f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 0 deletions.
Empty file modified MonokaiPylinter.tmTheme
100644 → 100755
Empty file.
1 change: 1 addition & 0 deletions pylinter.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ def get_default_pylint_command(cls):

out, _ = proc.communicate()

pylint_path = ""
if out != b"":
pylint_path = os.path.join(out.strip(),
b"lint.py").decode("utf-8")
Expand Down

0 comments on commit c042d5f

Please sign in to comment.