make sure that the update_timer function has the code as well. define time_str as self.time_str, so it can be used in this function too.
def update_timer(self):
self.player_one_timer_label.config(text=self.time_str)
self.player_one_timer_label.after(1000, self.update_timer)