Closed kayvonf closed 6 years ago
I see a number of "* 60" and "/ 60" 's in the code. To avoid potential typos/errors and to improve clarity let's make some helper routines.
def minutesToSeconds(x) def secondsToMinutes(x)
Alternatively, we could use datetime.timedelta.
This is added in now along with a change to use timedeltas.
I see a number of "* 60" and "/ 60" 's in the code. To avoid potential typos/errors and to improve clarity let's make some helper routines.
def minutesToSeconds(x) def secondsToMinutes(x)
Alternatively, we could use datetime.timedelta.