Merge pull request #167 from aceisace/hotfix/todoist_module

Hotfix - Todoist API module sync
This commit is contained in:
Ace 2021-02-01 19:22:10 +01:00 committed by GitHub
commit 15835579e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 :/')