Skip to content
Snippets Groups Projects
Commit 562a6f83 authored by Jorrit Schaap's avatar Jorrit Schaap
Browse files

Task #10057: fix, do not return a list but the first item of the list as dict

parent 41fe115c
No related branches found
No related tags found
No related merge requests found
......@@ -207,7 +207,7 @@ class RADatabase:
if conditions:
query += ' WHERE ' + ' AND '.join(conditions)
result = list(self._executeQuery(query, qargs, fetch=_FETCH_ALL))
result = dict(self._executeQuery(query, qargs, fetch=_FETCH_ALL))
return result
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment