Hotfix for Todoist API module
The Todoist module would not update on each loop, but rather at each reboot. This commit fixes the problem by syncronising with the API on each refresh.
This commit is contained in:
parent
5e7868162a
commit
fcf7799e43
@ -86,6 +86,7 @@ class Todoist(inkycal_module):
|
||||
# Check if internet is available
|
||||
if internet_available() == True:
|
||||
logger.info('Connection test passed')
|
||||
self._api.sync()
|
||||
else:
|
||||
raise Exception('Network could not be reached :/')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user