diff --git a/Plist Binary.py b/Plist Binary.py index ba3b587..7c00a6f 100644 --- a/Plist Binary.py +++ b/Plist Binary.py @@ -2,7 +2,7 @@ import sublime, sublime_plugin import os class ToggleBinaryCommand(sublime_plugin.TextCommand): - def run_(self, args): + def run_(self, view, args): fname = self.view.file_name() if os.path.splitext(fname)[1].lower() != ".plist": @@ -20,4 +20,4 @@ class ToggleBinaryCommand(sublime_plugin.TextCommand): os.system("plutil -convert xml1 " + fname) self.view.set_syntax_file("Packages/XML/XML.tmLanguage") - self.view.run_command('revert'); \ No newline at end of file + self.view.run_command('revert');