Browse Source

Merge pull request #2648 from rspencer01/master

Fix indentation error in python bindings
Kim Kulling 6 năm trước cách đây
mục cha
commit
3069e2272d
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      port/PyAssimp/pyassimp/helper.py

+ 2 - 2
port/PyAssimp/pyassimp/helper.py

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