removed Final import because of python3.7 backwards compatibility
This commit is contained in:
parent
cad45ecd2c
commit
592d08c082
2 changed files with 7 additions and 9 deletions
|
@ -19,7 +19,6 @@ Parameters:
|
|||
"""
|
||||
|
||||
import shutil
|
||||
from typing import Final
|
||||
|
||||
import requests
|
||||
|
||||
|
@ -28,10 +27,10 @@ import core.input
|
|||
import core.module
|
||||
import core.widget
|
||||
|
||||
HOST_API: Final[str] = "https://api.todoist.com"
|
||||
HOST_WEBSITE: Final[str] = "https://todoist.com/app/today"
|
||||
HOST_API = "https://api.todoist.com"
|
||||
HOST_WEBSITE = "https://todoist.com/app/today"
|
||||
|
||||
TASKS_URL: Final[str] = f"{HOST_API}/rest/v2/tasks"
|
||||
TASKS_URL = f"{HOST_API}/rest/v2/tasks"
|
||||
|
||||
|
||||
class Module(core.module.Module):
|
||||
|
|
|
@ -28,7 +28,6 @@ Parameters:
|
|||
import base64
|
||||
import shutil
|
||||
import time
|
||||
from typing import Final, List
|
||||
|
||||
import requests
|
||||
|
||||
|
@ -37,10 +36,10 @@ import core.input
|
|||
import core.module
|
||||
import core.widget
|
||||
|
||||
HOST_API: Final[str] = "https://wakatime.com"
|
||||
SUMMARIES_URL: Final[str] = f"{HOST_API}/api/v1/users/current/summaries"
|
||||
UTF8: Final[str] = "utf-8"
|
||||
FORMAT_PARAMETERS: Final[List[str]] = ["decimal", "digital", "seconds", "text"]
|
||||
HOST_API = "https://wakatime.com"
|
||||
SUMMARIES_URL = f"{HOST_API}/api/v1/users/current/summaries"
|
||||
UTF8 = "utf-8"
|
||||
FORMAT_PARAMETERS = ["decimal", "digital", "seconds", "text"]
|
||||
|
||||
|
||||
class Module(core.module.Module):
|
||||
|
|
Loading…
Reference in a new issue