text-module enhancement

This allows an improved approach to load text from URL
Also improved the function to check for a connection by attempting three times before giving up
This commit is contained in:
Ace
2023-11-08 20:22:50 +01:00
parent 3124ecd535
commit bebe60aef3
5 changed files with 37 additions and 43 deletions

View File

@@ -28,6 +28,8 @@ class Config:
# inkycal_todoist_test
TODOIST_API_KEY = get("TODOIST_API_KEY")
TEMP_PATH = f"{basedir}/tmp"