Skip to content

Commit

Permalink
删除dict对象下标支持py3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
MerCuJerry committed Feb 19, 2024
1 parent 54d5a4d commit b29d53b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nonebot_plugin_blocker/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class BlockerListModel(RootModel):

class BlockerList:
blocklist: dict
blocker_type: dict[str, bool]
blocker_type: dict

def __init__(self, reply_config: dict):
self.blocklist = BlockerListModel.model_validate_json(
Expand Down

0 comments on commit b29d53b

Please sign in to comment.