Skip to content

Commit

Permalink
Fixed function name in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
agronholm committed Oct 1, 2023
1 parent 071c6d4 commit ef716db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/apscheduler/_schedulers/async_.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def _check_initialized(self) -> None:
raise RuntimeError(
"The scheduler has not been initialized yet. Use the scheduler as an "
"async context manager (async with ...) in order to call methods other "
"than run_until_complete()."
"than run_until_stopped()."
)

@property
Expand Down

0 comments on commit ef716db

Please sign in to comment.