fix mu == sigma in toJson

This commit is contained in:
Yannik Schmidt
2020-06-19 01:19:47 +02:00
parent 18f5be0b4e
commit 9bdad9a1c4

View File

@@ -59,7 +59,7 @@ class PlayerInDatabase(Player):
retDict = { "name" : self.name, retDict = { "name" : self.name,
"id" : self.id, "id" : self.id,
"rating-mu" : self.rating.mu, "rating-mu" : self.rating.mu,
"rating-sigma" : self.rating.mu, "rating-sigma" : self.rating.sigma,
"games" : self.games, "games" : self.games,
"wins" : self.wins, "wins" : self.wins,
"last-game" : self.lastUpdate.isoformat()} "last-game" : self.lastUpdate.isoformat()}