fix: add filehash to_dict

This commit is contained in:
2026-03-12 19:03:22 +01:00
parent 249dbd2b52
commit 72749c4ef7

View File

@@ -222,6 +222,7 @@ class ParsedReplay(db.Model):
def to_dict(self): def to_dict(self):
d = dict() d = dict()
d.update({ "login" : self.login }) d.update({ "login" : self.login })
d.update({ "filepath" : self.login })
d.update({ "race_time" : self.get_human_readable_time() }) d.update({ "race_time" : self.get_human_readable_time() })
d.update({ "filepath" : self.filepath }) d.update({ "filepath" : self.filepath })
d.update({ "upload_dt" : self.upload_dt }) d.update({ "upload_dt" : self.upload_dt })