~awolfson/apptimer/quickly_trunk

« back to all changes in this revision

Viewing changes to bin/apptimer

  • Committer: Alexander Wolfson
  • Date: 2012-10-14 01:58:11 UTC
  • Revision ID: alex.wolfson@canonical.com-20121014015811-ecqymqieze3xwy3e
Fixed bug in schedule() - expected int parameter got float

Show diffs side-by-side

added added

removed removed

Lines of Context:
174
174
        process_status = self.run(command_line)
175
175
        if process_status > 0:
176
176
            self.first_run = True
177
 
            glib.timeout_add(period * 1000, self.check_screen, process_status, time_dead_line)
 
177
            glib.timeout_add(int(period) * 1000, self.check_screen, process_status, time_dead_line)
178
178
    
179
179
    def on_ChooseArea2Watch_clicked(self, widget, data=None):
180
180
        w = gtk.gdk.get_default_root_window()