Skip to content
Snippets Groups Projects
Commit 35591f13 authored by Julian Rother's avatar Julian Rother
Browse files

Fixed that sqlite appends numbers on duplicate column names

parent 3c079b08
Branches
No related tags found
No related merge requests found
......@@ -67,7 +67,7 @@ def query(operation, *params, delim="sep"):
res.append({})
ptr = res[-1]
for col, desc in zip(row, cur.description):
name = desc[0].split('.')[-1]
name = desc[0].split('.')[-1].split(':')[0]
if name == delim:
ptr = res[-1][col] = {}
continue
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment