Skip to content

Commit 9c56950

Browse files
authored
🐛 fix config parse in pyd v2
1 parent cbf7e8f commit 9c56950

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nonebot/adapters/github/adapter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class Adapter(BaseAdapter):
3636
@overrides(BaseAdapter)
3737
def __init__(self, driver: Driver, **kwargs: Any):
3838
super().__init__(driver, **kwargs)
39-
self.github_config = Config.parse_obj(self.config)
39+
self.github_config = Config.parse_obj(dict(self.config))
4040
self._setup()
4141

4242
@classmethod

0 commit comments

Comments
 (0)