mirror of
https://github.com/283375/arcaea-offline.git
synced 2025-04-21 15:00:18 +00:00
fix(db): Score.to_db_row
This commit is contained in:
parent
6ec8e7e4f8
commit
af2c635401
@ -120,7 +120,7 @@ class Score:
|
|||||||
def to_db_row(self):
|
def to_db_row(self):
|
||||||
keys = list(self.__dataclass_fields__)
|
keys = list(self.__dataclass_fields__)
|
||||||
values = [self.__getattribute__(key) for key in keys]
|
values = [self.__getattribute__(key) for key in keys]
|
||||||
return DbChartRow(*values)
|
return DbScoreRow(*values)
|
||||||
|
|
||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
|
Loading…
x
Reference in New Issue
Block a user