Skip to content

Commit 711fdb9

Browse files
committed
Fix references to undefined variable
Issue #169
1 parent b984dbc commit 711fdb9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tern.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -590,12 +590,12 @@ def run(self, edit, **args):
590590

591591
class TernDisableProject(sublime_plugin.TextCommand):
592592
def run(self, edit, **args):
593-
pfile = get_pfile(view)
593+
pfile = get_pfile(self.view)
594594
pfile.project.disabled = False
595595

596596
class TernEnableProject(sublime_plugin.TextCommand):
597597
def run(self, edit, **args):
598-
pfile = get_pfile(view)
598+
pfile = get_pfile(self.view)
599599
pfile.project.disabled = True
600600

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

0 commit comments

Comments
 (0)