diff options
author | Alejandro Gallo <aamsgallo@gmail.com> | 2018-09-18 14:45:13 +0200 |
---|---|---|
committer | Alejandro Gallo <aamsgallo@gmail.com> | 2018-09-18 14:45:13 +0200 |
commit | 7db687b615fa1360205db915e05b10c0acf1484c (patch) | |
tree | d427d020a7a119c73b3add3d737005460ce0a50a | |
parent | b682162373357a573e71503fa4476ff2f6a3c7a2 (diff) |
Fix issue #102
-rw-r--r-- | papis/commands/list.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/papis/commands/list.py b/papis/commands/list.py index 095b1e2e..5494d4c8 100644 --- a/papis/commands/list.py +++ b/papis/commands/list.py @@ -124,7 +124,7 @@ def run( documents = db.query(query) if pick: - documents = [papis.api.pick_doc(documents)] + documents = filter(lambda x: x, [papis.api.pick_doc(documents)]) if files: return [ |