Skip to content
This repository has been archived by the owner on Sep 26, 2022. It is now read-only.

Commit

Permalink
we want the total seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
tarekziade committed Mar 10, 2014
1 parent f966ed4 commit 2e48282
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion loadsweb/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

def finished(date):
age = datetime.now() - date
return seconds_to_time(age.seconds, loose=True)
return seconds_to_time(age.total_seconds(), loose=True)


def seconds_to_time(seconds, loose=False):
Expand Down

0 comments on commit 2e48282

Please sign in to comment.