Skip to content

Commit

Permalink
Fix job reference in README (#520)
Browse files Browse the repository at this point in the history
Mistakenly added used `job` function instead of `job_with_argument` function
  • Loading branch information
rudSarkar authored Apr 10, 2022
1 parent c883af0 commit 76119a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Usage
def job_with_argument(name):
print(f"I am {name}")
schedule.every(10).seconds.do(job, name="Peter")
schedule.every(10).seconds.do(job_with_argument, name="Peter")
while True:
schedule.run_pending()
Expand Down

0 comments on commit 76119a2

Please sign in to comment.