mirror of
https://github.com/FAUSheppy/skillbird
synced 2025-12-06 06:51:34 +01:00
[git fast commit] 10. Feb 2019 - 11:57:19
This commit is contained in:
4
Round.py
4
Round.py
@@ -126,7 +126,7 @@ class Round:
|
||||
losers += "," + p.serialize()
|
||||
|
||||
teams = "{}|{}".format(winners, losers)
|
||||
startTimeStr = self.start.strftime("%b %d %H:%M:%S")
|
||||
startTimeStr = self.start.strftime("%y %b %d %H:%M:%S")
|
||||
|
||||
ret = "{}|{}|{}|{}|{}".format(teams, self.winner_side, \
|
||||
self.map, self.duration.seconds, startTimeStr)
|
||||
@@ -145,6 +145,6 @@ class Round:
|
||||
if pStr == "":
|
||||
continue
|
||||
losers.update({PlayerInRound.deserialize(pStr):TS.new_rating()})
|
||||
startTime = datetime.strptime(startTimeStr, "%b %d %H:%M:%S")
|
||||
startTime = datetime.strptime(startTimeStr, "%y %b %d %H:%M:%S")
|
||||
duration = timedelta(seconds=int(duration))
|
||||
return Round(winners, losers, _map, duration, startTime, winner_side)
|
||||
|
||||
Reference in New Issue
Block a user