def get_time(self) -> float:
if self.pause_time is not None:<EOL><INDENT>curr_time = self.pause_time - self.offset - self.start_time<EOL>return curr_time<EOL><DEDENT>curr_time = time.time()<EOL>return curr_time - self.start_time - self.offset<EOL>
Get the current time in seconds

Returns:
    The current time in seconds