We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd23b5e commit d5ce5dbCopy full SHA for d5ce5db
itchat/storage/templates.py
@@ -13,7 +13,7 @@ def __getattr__(self, value):
13
return self[keyName]
14
except KeyError:
15
raise AttributeError("'%s' object has no attribute '%s'" % (
16
- self.__class__.__name__.split('.')[-1], value))
+ self.__class__.__name__.split('.')[-1], keyName))
17
def get(self, v, d=None):
18
try:
19
return self[v]
0 commit comments