Skip to content

Commit

Permalink
fix: remove role from start_worker
Browse files Browse the repository at this point in the history
  • Loading branch information
Volker Lorrmann committed Sep 5, 2024
1 parent 178a69b commit d1e8bf6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion src/flowerpower/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)


Expand Down

0 comments on commit d1e8bf6

Please sign in to comment.