From 824741d0b073f385b1b356b414aa5b98e35ce74d Mon Sep 17 00:00:00 2001 From: Rafal Chlodnicki Date: Tue, 2 Jan 2024 21:55:35 +0100 Subject: [PATCH] lowercase task --- plugin/save_command.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugin/save_command.py b/plugin/save_command.py index 110374605..60d50fd4f 100644 --- a/plugin/save_command.py +++ b/plugin/save_command.py @@ -72,9 +72,9 @@ def __init__( self._canceled = False def run(self) -> None: - for Task in self._tasks: - if Task.is_applicable(self._text_command.view): - self._pending_tasks.append(Task(self._text_command, self._on_task_completed_async)) + for task in self._tasks: + if task.is_applicable(self._text_command.view): + self._pending_tasks.append(task(self._text_command, self._on_task_completed_async)) self._process_next_task() def cancel(self) -> None: