瀏覽代碼

pyassimp/quicktest is now Python 3 compatible.

Oliver Nagy 11 年之前
父節點
當前提交
fc039ee0e2
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      port/PyAssimp/scripts/quicktest.py

+ 1 - 1
port/PyAssimp/scripts/quicktest.py

@@ -33,7 +33,7 @@ def run_tests():
                         ok += 1
                     except errors.AssimpError as error:
                         # assimp error is fine, this is a controlled case
-                        print error
+                        print(error)
                         err += 1
                     except Exception:
                         print("Error encountered while loading <%s>"%os.path.join(root,afile))