Skip to content

Commit

Permalink
🐛 Bug: Fix the bug of missing job-queue dependency package
Browse files Browse the repository at this point in the history
  • Loading branch information
yym68686 committed Oct 26, 2024
1 parent a47080c commit da3dbcf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,7 @@ async def getChatGPT(update_message, context, title, robot, message, chatid, mes
else:
tmpresult = f"{tmpresult}\n\n`{e}`"
print(tmpresult)
# 检测是否存在 svg
now_result = escape(tmpresult, italic=False)
if lastresult != now_result and answer_messageid:
if "Can't parse entities: can't find end of code entity at byte offset" in tmpresult:
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--index-url https://pypi.python.org/simple/
python-dotenv
python-telegram-bot[webhooks,rate-limiter]==21.0.1
python-telegram-bot[webhooks,rate-limiter,job-queue]==21.0.1

pytz
msgspec
Expand Down

0 comments on commit da3dbcf

Please sign in to comment.