all repos — litestore @ 60bed30de07ed185587d5c462df5717b8e5e7309

A minimalist nosql document store.

Fixes.
h3rald h3rald@h3rald.com
Sun, 16 Sep 2018 19:07:43 +0200
commit

60bed30de07ed185587d5c462df5717b8e5e7309

parent

09430f5199ee6c46d711a3e866e7034734511500

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M lib/utils.nimlib/utils.nim

@@ -186,7 +186,7 @@ try:

json = s.parseJson() except: discard - if json.len > 0: + if not json.isNil: if json.kind == JObject: # Only process string values str = toSeq(json.pairs).filterIt(it.val.kind == JString).mapIt(it.val.getStr).join(" ")