From ae5941312901b3b26e2c2dbcae2666ae45632d2f Mon Sep 17 00:00:00 2001 From: 0kb Date: Tue, 14 May 2013 22:08:20 +0200 Subject: [PATCH] Update Plist Binary.py def run_ for ST3 takes 3 arguments, according to the console. --- Plist Binary.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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');