Take into account, that key eventID is not always available.
This commit is contained in:
parent
fa2b65ea3d
commit
f4f7615bf8
@ -1 +1 @@
|
|||||||
b97f-dirty
|
fa2b-dirty
|
||||||
|
@ -85,7 +85,10 @@ class AutoPickParameter(object):
|
|||||||
return bool(self.__parameter)
|
return bool(self.__parameter)
|
||||||
|
|
||||||
def __getitem__(self, key):
|
def __getitem__(self, key):
|
||||||
return self.__parameter[key]
|
try:
|
||||||
|
return self.__parameter[key]
|
||||||
|
except:
|
||||||
|
return None
|
||||||
|
|
||||||
def __setitem__(self, key, value):
|
def __setitem__(self, key, value):
|
||||||
self.__parameter[key] = value
|
self.__parameter[key] = value
|
||||||
|
Loading…
Reference in New Issue
Block a user