diff --git a/mirrors/utils.py b/mirrors/utils.py index b007b340..589a9b44 100644 --- a/mirrors/utils.py +++ b/mirrors/utils.py @@ -16,7 +16,7 @@ def dictfetchall(cursor): "Returns all rows from a cursor as a dict." desc = cursor.description return [ - dict(zip([col[0] for col in desc], row)) + dict(zip([col[0] for col in desc], row, strict=True)) for row in cursor.fetchall() ]