def set_clock(self, value): day = self.get_day() time = parse_clock(value) self.start_time = self.loop.time() self.extra_elapsed_time = day * constants.MAX_TIME + time
def set_clock(self, value): day = self.get_day() time = parse_clock(value) self.start_time = reactor.seconds() self.extra_elapsed_time = day * constants.MAX_TIME + time