def on_interval_dialog(self, dialog, a): #interval_dialog callback
        if a == gtk.RESPONSE_NO:
            self.refresh_and_show()
        else:
            #keep the timer running
            self.running = True
            self.current_selected_project_id = self.last_project_id
            self.current_selected_task_id = self.last_task_id
            self.current_notes = self.get_notes(self.last_notes)
            self.current_hours = round(float(self.last_hours) + float(self.interval), 2) % "%0.02f"
            self.current_text = self.last_text
            self.current_entry_id = self.last_entry_id
            entry = self.harvest.update(self.current_entry_id, {#append to existing timer
                  'notes': self.current_notes,
                  'hours': self.current_hours,
                  'project_id': self.current_project_id,
                  'task_id': self.current_task_id
            })

            self.refresh_and_show()

            self.timetracker_window.hide() #hide timetracker and continue task

        dialog.destroy()

        self.attention = None

        self.interval_dialog_showing = False
dataset/ETHPy150Open lionheart/TimeTracker-Linux/libs/Signals.py/uiSignals.on_interval_dialog/swapped operands of `%`