diff --git a/utils/cinnamon-stap-monitor/cinnamon-stap-monitor.py b/utils/cinnamon-stap-monitor/cinnamon-stap-monitor.py index c28be0a95a..4a371af3c5 100755 --- a/utils/cinnamon-stap-monitor/cinnamon-stap-monitor.py +++ b/utils/cinnamon-stap-monitor/cinnamon-stap-monitor.py @@ -107,9 +107,9 @@ def update_timer_label(self): elapsed = now - self.start_time - string = str(timedelta(seconds=int(elapsed + .5))) + time_passed = timedelta(seconds=int(elapsed + .5)) - self.timer_label.set_text("Elapsed time: %s" % string) + self.timer_label.set_text("Elapsed time: {}".format(time_passed)) return True