mirror of
https://github.com/tgbot-collection/ytdlbot.git
synced 2025-02-26 00:05:32 +08:00
resolve pytz warning
This commit is contained in:
parent
555358540a
commit
1b89d25be3
1 changed files with 1 additions and 1 deletions
|
@ -205,7 +205,7 @@ def audio_callback(client: "Client", callback_query: types.CallbackQuery):
|
|||
|
||||
if __name__ == '__main__':
|
||||
MySQL()
|
||||
scheduler = BackgroundScheduler()
|
||||
scheduler = BackgroundScheduler(timezone="Asia/Shanghai")
|
||||
scheduler.add_job(Redis().reset_today, 'cron', hour=0, minute=0)
|
||||
scheduler.start()
|
||||
banner = f"""
|
||||
|
|
Loading…
Reference in a new issue