Update Plist Binary.py
def run_ for ST3 takes 3 arguments, according to the console.
This commit is contained in:
@@ -2,7 +2,7 @@ import sublime, sublime_plugin
|
|||||||
import os
|
import os
|
||||||
|
|
||||||
class ToggleBinaryCommand(sublime_plugin.TextCommand):
|
class ToggleBinaryCommand(sublime_plugin.TextCommand):
|
||||||
def run_(self, args):
|
def run_(self, view, args):
|
||||||
|
|
||||||
fname = self.view.file_name()
|
fname = self.view.file_name()
|
||||||
if os.path.splitext(fname)[1].lower() != ".plist":
|
if os.path.splitext(fname)[1].lower() != ".plist":
|
||||||
|
|||||||
Reference in New Issue
Block a user