This could bug out if you would give an int to the function, in which
case it wouldn't return correct results
return(green_start + "unknown" + color_stop)
return(green_start + "unknown" + color_stop)
- days = time/(3600*24)
- hours = (days - int(days))*24
- minutes = (hours - int(hours))*60
- seconds = (minutes - int(minutes))*60
+ days = time/(3600.0*24.0)
+ hours = (days - int(days))*24.0
+ minutes = (hours - int(hours))*60.0
+ seconds = (minutes - int(minutes))*60.0
days = int(days)
hours = int(hours)
days = int(days)
hours = int(hours)