bugfix
This commit is contained in:
parent
6fb4f7eff0
commit
ab18e1d513
@ -28,7 +28,8 @@ class DictObject(dict):
|
||||
try:
|
||||
return self[key]
|
||||
except KeyError:
|
||||
raise AttributeError(f"No such attribute: {key}")
|
||||
return None
|
||||
# raise AttributeError(f"No such attribute: {key}")
|
||||
|
||||
def __setattr__(self, key, value):
|
||||
self[key] = value
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user