From d75d3fdf5b4ab134dca7d168aae0ecb697df26df Mon Sep 17 00:00:00 2001 From: ThomasV Date: Fri, 12 Jun 2015 20:15:53 +0200 Subject: [PATCH] fix --pending option --- lib/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/commands.py b/lib/commands.py index eaf319e0..83312c2d 100644 --- a/lib/commands.py +++ b/lib/commands.py @@ -556,7 +556,7 @@ class Commands: f = PR_PAID else: f = None - if f: + if f is not None: out = filter(lambda x: x.get('status')==f, out) return map(self._format_request, out)