From a1b84b74d2b072e1f1df6bd7e841094454e180ad Mon Sep 17 00:00:00 2001 From: enkore Date: Sat, 23 Feb 2013 13:54:35 +0100 Subject: [PATCH] Fixed issue with standalone usage --- i3pystatus/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/i3pystatus/__init__.py b/i3pystatus/__init__.py index 509f1bc..34cfa82 100644 --- a/i3pystatus/__init__.py +++ b/i3pystatus/__init__.py @@ -139,6 +139,8 @@ class StandaloneIO(IOHandler): return '{"version": 1}' elif self.n == 1: return "[" + elif self.n == 2: + return "[]" else: return ",[]"