From 263dd4ceff65c40d90b7f40937986bf3612d8f45 Mon Sep 17 00:00:00 2001 From: Nils Schneider Date: Sat, 5 Jul 2014 20:23:06 +0200 Subject: [PATCH] alfred.py: use gzip (requires alfred-json v0.2) --- alfred.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alfred.py b/alfred.py index 6d926bb..b956026 100755 --- a/alfred.py +++ b/alfred.py @@ -7,7 +7,7 @@ class alfred: self.request_data_type = request_data_type def aliases(self): - output = subprocess.check_output(["alfred-json","-r",str(self.request_data_type),"-f","json"]) + output = subprocess.check_output(["alfred-json","-r",str(self.request_data_type),"-f","json","-z"]) alfred_data = json.loads(output.decode("utf-8")) alias = {} for mac,node in alfred_data.items():