Fixes.
h3rald h3rald@h3rald.com
Sun, 16 Sep 2018 19:07:43 +0200
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
lib/utils.nim
→
lib/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(" ")