Skip to content

Commit

Permalink
fix: No need to specify a timezone
Browse files Browse the repository at this point in the history
  • Loading branch information
Travis Lee committed Nov 12, 2022
1 parent 1bc2513 commit d19f31b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

stacker = StackerNews()

scheduler = BlockingScheduler(timezone='Asia/Hong_Kong')
scheduler = BlockingScheduler()
scheduler.add_job(stacker.run, 'interval', minutes=1, id='stacker',
max_instances=1, next_run_time=datetime.datetime.now())

Expand Down

0 comments on commit d19f31b

Please sign in to comment.