fixed a problem with python version compatibility, thanks Anthony
This commit is contained in:
+2
-3
@@ -8454,9 +8454,8 @@ def index():
|
||||
# reduce the column info down to just the field names
|
||||
fields = colnames or [f[0] for f in columns]
|
||||
if len(fields) != len(set(fields)):
|
||||
raise RuntimeError(
|
||||
"Result set includes duplicate column names."
|
||||
"Specify unique column names using the 'colnames' argument")
|
||||
raise RuntimeError("Result set includes duplicate column names. Specify unique column names using the 'colnames' argument")
|
||||
|
||||
# will hold our finished resultset in a list
|
||||
data = adapter._fetchall()
|
||||
# convert the list for each row into a dictionary so it's
|
||||
|
||||
Reference in New Issue
Block a user