Skip to content

Commit

Permalink
fix demo
Browse files Browse the repository at this point in the history
  • Loading branch information
guangrei committed Dec 27, 2023
1 parent 4087794 commit 95d4cff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion demo/telegram_bot/mybot/pustaka/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ def add_user(id):


def update_user_session(id, loc):
if not chatrouter.group_exists(loc):
if not chatrouter.util.group_exists(loc):
raise ValueError
r.set(id, loc)
2 changes: 1 addition & 1 deletion demo/telegram_bot/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ packages = [{include = "telegram_bot"}]

[tool.poetry.dependencies]
python = "^3.10"
chatrouter = "^0.0.3"
chatrouter = "^0.0.5"
bottle = "^0.12.25"
requests = "^2.31.0"
pyTelegramBotAPI = "^4.14.1"
Expand Down

0 comments on commit 95d4cff

Please sign in to comment.