From 328af0a71a8591b8db1a776be0ebc83aea200ad7 Mon Sep 17 00:00:00 2001 From: Bo Kamphues Date: Sat, 29 Aug 2020 14:33:31 +0200 Subject: [PATCH] Fixed type errors --- hooks/tk-houdini_scene_operations.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hooks/tk-houdini_scene_operations.py b/hooks/tk-houdini_scene_operations.py index 56f10f7..1186d0c 100644 --- a/hooks/tk-houdini_scene_operations.py +++ b/hooks/tk-houdini_scene_operations.py @@ -49,7 +49,7 @@ def scan_scene(self): alembic_nodes = hou.nodeType(hou.sopNodeTypeCategory(), "alembic").instances() # get a list of all regular file nodes in the file - file_nodes = hou.nodeType(hou.sopNodeTypeCategory, "file").instances() + file_nodes = hou.nodeType(hou.sopNodeTypeCategory(), "file").instances() # return an item for each alembic node found. the breakdown app will check # the paths of each looking for a template match and a newer version @@ -114,6 +114,6 @@ def update(self, items): file_node = hou.node(node_path) engine.log_debug( - "Updating file node '%s' to: %s" (node_path, file_path) + "Updating file node '%s' to: %s" % (node_path, file_path) ) file_node.parm("file").set(file_path)