fix __dictrow_to_dict_list

This commit is contained in:
mitsuha_s 2022-07-13 22:09:04 +00:00
parent 2dde80f715
commit 6759e61bc2
1 changed files with 1 additions and 1 deletions

View File

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