diff --git a/pyproject.toml b/pyproject.toml index 4f2e791..e0a510c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,7 +24,7 @@ keywords = [ name = "FlowerPower" readme = "README.md" requires-python = ">= 3.11" -version = "0.5.3" +version = "0.5.3.1" [project.scripts] flowerpower = "flowerpower.cli:app" diff --git a/src/flowerpower/scheduler.py b/src/flowerpower/scheduler.py index cbdacc5..9b0d697 100644 --- a/src/flowerpower/scheduler.py +++ b/src/flowerpower/scheduler.py @@ -251,7 +251,7 @@ def start_worker( SchedulerManager: The scheduler instance. """ # manager = get_schedule_manager(name, base_dir, role="worker", *args, **kwargs) - with SchedulerManager(name, base_dir, role="worker", *args, **kwargs) as manager: + with SchedulerManager(name, base_dir, *args, **kwargs) as manager: manager.start_worker(background)