aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNils Schneider <nils@nilsschneider.net>2014-07-05 20:23:06 +0200
committerNils Schneider <nils@nilsschneider.net>2014-07-05 20:23:06 +0200
commit263dd4ceff65c40d90b7f40937986bf3612d8f45 (patch)
treeb8ac7554f11a5b7ad8d7e231c0bba6cec6ec6a4a
parent9f546be0c74ae069cc152aac3fc7c41ced68170b (diff)
alfred.py: use gzip (requires alfred-json v0.2)
-rwxr-xr-xalfred.py2
1 files changed, 1 insertions, 1 deletions
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():