Skip to content

Commit 82ad817

Browse files
committed
Better fix for hours/minutes on game length.
1 parent 6de72a0 commit 82ad817

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sc2reader/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,12 +252,12 @@ class Length(timedelta):
252252
@property
253253
def hours(self):
254254
""" The number of hours in represented. """
255-
return int(self.seconds/3600)
255+
return self.seconds//3600
256256

257257
@property
258258
def mins(self):
259259
""" The number of minutes in excess of the hours. """
260-
return int(self.seconds/60) % 60
260+
return self.seconds//60 % 60
261261

262262
@property
263263
def secs(self):

0 commit comments

Comments
 (0)