Skip to content

Commit

Permalink
Fix references to undefined variable
Browse files Browse the repository at this point in the history
Issue #169
  • Loading branch information
marijnh committed Aug 31, 2017
1 parent b984dbc commit 711fdb9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tern.py
Original file line number Diff line number Diff line change
Expand Up @@ -590,12 +590,12 @@ def run(self, edit, **args):

class TernDisableProject(sublime_plugin.TextCommand):
def run(self, edit, **args):
pfile = get_pfile(view)
pfile = get_pfile(self.view)
pfile.project.disabled = False

class TernEnableProject(sublime_plugin.TextCommand):
def run(self, edit, **args):
pfile = get_pfile(view)
pfile = get_pfile(self.view)
pfile.project.disabled = True

# fetch a certain setting from the package settings file and if it doesn't exist check the
Expand Down

0 comments on commit 711fdb9

Please sign in to comment.