Skip to content

Commit

Permalink
use typing.Tuple instead of tuple to support python 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
adbenitez committed Mar 18, 2024
1 parent b7518cc commit 10c7eda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion matterdelta/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def dc2mb(bot: Bot, accid: int, msg: AttrDict) -> None:
mb2dc(bot, data, (accid, msg.chat_id))


def mb2dc(bot: Bot, msg: dict, exclude: tuple[int, int] = (0, 0)) -> None:
def mb2dc(bot: Bot, msg: dict, exclude: Tuple[int, int] = (0, 0)) -> None:
"""Send a message from matterbridge to the bridged Delta Chat group"""
if msg["event"] not in ("", "user_action"):
return
Expand Down

0 comments on commit 10c7eda

Please sign in to comment.