Fix indentation error in python bindings

pull/2648/head
Robert Spencer 2019-09-10 20:38:31 +01:00
parent d672ae21d0
commit e1322f9178
1 changed files with 2 additions and 2 deletions

View File

@ -274,8 +274,8 @@ def hasattr_silent(object, name):
"""
try:
if not object:
return False
if not object:
return False
return hasattr(object, name)
except AttributeError:
return False