all repos — litestore @ 942f1f95e88a0fd1d6dff5f51be5d795a20eeb1a

A minimalist nosql document store.

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

942f1f95e88a0fd1d6dff5f51be5d795a20eeb1a

parent

e60fa2b8a92c099608691eaf399e70bd90d7597b

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(" ")