Skip to content

Commit

Permalink
refactored api
Browse files Browse the repository at this point in the history
  • Loading branch information
pvranik committed Nov 12, 2024
1 parent a193712 commit 376a235
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion custom_components/ticktick_todo/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
PLATFORMS = [Platform.TODO]
ISSUE_URL = "/~https://github.com/konikvranik/hacs_ticktick/issues"

DEBUG = True
DEBUG = False

SCHEMA = {
vol.Required(CONF_HOST): cv.string,
Expand Down
2 changes: 1 addition & 1 deletion custom_components/ticktick_todo/todo.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def _task_status_to_todo_item_status(task_response: openapi_client.Task) -> Todo
return None

@staticmethod
async def _todo_item_status_to_task_status(todo_item):
def _todo_item_status_to_task_status(todo_item):
if todo_item.status == TodoItemStatus.COMPLETED:
return 2
else:
Expand Down

0 comments on commit 376a235

Please sign in to comment.