From b89916a3d7788910142c971cbf28a84ecf3ff723 Mon Sep 17 00:00:00 2001 From: Lex Berezhny Date: Tue, 16 Jul 2019 21:15:39 -0400 Subject: [PATCH] guarded dict access --- lbry/lbry/extras/daemon/Daemon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lbry/lbry/extras/daemon/Daemon.py b/lbry/lbry/extras/daemon/Daemon.py index 3003c91a8..e9386309f 100644 --- a/lbry/lbry/extras/daemon/Daemon.py +++ b/lbry/lbry/extras/daemon/Daemon.py @@ -3440,7 +3440,7 @@ class Daemon(metaclass=JSONRPCServerType): if is_channel_signature_valid: result['items'] = [ - c for c in result.get('items', []) if c['is_channel_signature_valid'] + c for c in result.get('items', []) if c.get('is_channel_signature_valid', False) ] return result