refresh_workview() is returning False. That means it will not be repeatedly called by timeout_add(). periodic_refresh() is returning True. That means it will be repeatedly called by timeout_add().