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))