Skip to content

Commit

Permalink
add logger info to indicate timeout when idle is installed
Browse files Browse the repository at this point in the history
  • Loading branch information
tito committed Jul 26, 2020
1 parent 80c9652 commit 0956b11
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions kaki/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,8 @@ def install_idle(self, timeout=60):
self.appname))
self.idle_timer = None
self.idle_timeout = timeout
Logger.info("{}: Install idle detector, {} seconds".format(
self.appname, timeout))
Clock.schedule_interval(self._check_idle, 1)
self.root.bind(
on_touch_down=self.rearm_idle,
Expand Down

0 comments on commit 0956b11

Please sign in to comment.