From 6759e61bc27ce0b001b3a85a625a7d988efbe0f6 Mon Sep 17 00:00:00 2001 From: mitsuha_s Date: Wed, 13 Jul 2022 22:09:04 +0000 Subject: [PATCH] fix __dictrow_to_dict_list --- database.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database.py b/database.py index 2e0a58f..e094b6f 100644 --- a/database.py +++ b/database.py @@ -182,4 +182,4 @@ class Database: @staticmethod def __dictrow_to_dict_list(rows: list[DictRow]) -> list[dict]: """Convert list of DictRows to list of dicts""" - return list(dict, rows) + return list(map(dict, rows))