From 1c90cf4ab19ffa1c7bdf926c0878cefe86cfdc01 Mon Sep 17 00:00:00 2001 From: Julian Rother <julianr@fsmpi.rwth-aachen.de> Date: Fri, 9 Sep 2016 23:26:43 +0200 Subject: [PATCH] Fix query delimiters --- db.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/db.py b/db.py index 311aef8..f1c6a56 100644 --- a/db.py +++ b/db.py @@ -69,7 +69,8 @@ def query(operation, *params, delim="sep"): name = desc[0].split('.')[-1] if name == delim: res[-1].append({}) - elif type(col) == str: + continue + if type(col) == str: col = col.replace('\\n', '\n').replace('\\r', '\r') res[-1][-1][name] = col if len(res[-1]) == 1: -- GitLab