assembly: fix hasProperty()

This commit is contained in:
Zheng, Lei 2019-10-28 18:18:13 +08:00
parent f1d1547e8e
commit 6725da5c91

View File

@ -27,7 +27,7 @@ def getProxy(obj,tp):
def hasProperty(obj,prop):
try:
obj.getPropertyByName(prop)
obj.getPropertyByName(prop,1)
return True
except Exception:
return False