assembly: fix hasProperty()
This commit is contained in:
parent
f1d1547e8e
commit
6725da5c91
|
@ -27,7 +27,7 @@ def getProxy(obj,tp):
|
||||||
|
|
||||||
def hasProperty(obj,prop):
|
def hasProperty(obj,prop):
|
||||||
try:
|
try:
|
||||||
obj.getPropertyByName(prop)
|
obj.getPropertyByName(prop,1)
|
||||||
return True
|
return True
|
||||||
except Exception:
|
except Exception:
|
||||||
return False
|
return False
|
||||||
|
|
Loading…
Reference in New Issue
Block a user