Oops, there is no time.now attribute, changed to time.time()