Copy and paste == brainless
This commit is contained in:
parent
0075c0a1e8
commit
aa5c776f3d
1 changed files with 1 additions and 1 deletions
|
|
@ -1207,7 +1207,7 @@ class BaseDict(dict):
|
|||
def __getattribute__(self, name):
|
||||
if name == 'observer' and not hasattr(self, 'observer'):
|
||||
self.observer = DataObserver(None, None)
|
||||
return super(BaseList, self).__getattribute__(name)
|
||||
return super(BaseDict, self).__getattribute__(name)
|
||||
|
||||
def __setitem__(self, *args, **kwargs):
|
||||
self.observer.updated()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue