Skip to content

Commit

Permalink
some deps updates
Browse files Browse the repository at this point in the history
  • Loading branch information
nlef committed Jan 4, 2025
1 parent 9fe70a5 commit 7887262
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions bot/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -1171,7 +1171,7 @@ def start_bot(bot_token, socks):
return application


async def start_scheduller(_: ContextTypes.DEFAULT_TYPE):
async def start_scheduler(_: ContextTypes.DEFAULT_TYPE):
a_scheduler.start()
# bot_updater.create_task(ws_helper.run_forever_async())
loop = asyncio.get_event_loop()
Expand Down Expand Up @@ -1250,7 +1250,7 @@ async def start_scheduller(_: ContextTypes.DEFAULT_TYPE):
kwargs={"bot": bot_updater.bot},
)

bot_updater.job_queue.run_once(start_scheduller, 1)
bot_updater.job_queue.run_once(start_scheduler, 1)
bot_updater.run_polling(allowed_updates=Update.ALL_TYPES)

logger.info("Shutting down the bot")
1 change: 1 addition & 0 deletions scripts/requirements.dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ opencv-python~=4.6.0.66
pipdeptree==2.24.0
pre-commit==4.0.1 ; python_version>='3.9'
pre-commit==3.5.0 ; python_version<='3.8'
psutil==6.1.1
pylint==3.2.7
pytest==7.3.1
types-cachetools==5.5.0.20240820
Expand Down
3 changes: 2 additions & 1 deletion scripts/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@ anyio==4.7.0
APScheduler==3.11.0
emoji==2.14.0
ffmpegcv==0.3.15
httpcore==1.0.7
httpx==0.28.1
idna==3.10
orjson==3.10.13
Pillow==11.1.0 ; python_version>='3.10'
Pillow==10.4.0 ; python_version<='3.9'
psutil==6.1.1
python-telegram-bot[socks,http2,rate-limiter,callback-data,job-queue]==21.10
tzlocal==5.2
uvloop==0.21.0 ; platform_system != "Windows"
Expand Down

0 comments on commit 7887262

Please sign in to comment.