Merge pull request #167 from aceisace/hotfix/todoist_module
Hotfix - Todoist API module sync
This commit is contained in:
commit
15835579e8
@ -86,6 +86,7 @@ class Todoist(inkycal_module):
|
|||||||
# Check if internet is available
|
# Check if internet is available
|
||||||
if internet_available() == True:
|
if internet_available() == True:
|
||||||
logger.info('Connection test passed')
|
logger.info('Connection test passed')
|
||||||
|
self._api.sync()
|
||||||
else:
|
else:
|
||||||
raise Exception('Network could not be reached :/')
|
raise Exception('Network could not be reached :/')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user