From 2df179e898a7137ad50b7cb54352936a28de14ac Mon Sep 17 00:00:00 2001 From: Ahmet DEMIR Date: Fri, 11 Feb 2022 10:20:07 +0100 Subject: [PATCH] fix: avoid strip on none key --- wildq/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wildq/cli.py b/wildq/cli.py index 8ee4e8e..d50dc6b 100644 --- a/wildq/cli.py +++ b/wildq/cli.py @@ -192,7 +192,7 @@ def cli(*args, **kwargs): for line in compiled: if not isinstance(line, dict) and not isinstance(line, list): - if raw: + if raw and not line is None: print(line.strip('"')) else: print(line)